Submission #2711854
Source Code Expand
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int mod = 1000000007; long x = (long) a; x = (long) a * b % mod; x = (long) x * c % mod; System.out.println(x); } }
Submission Info
Submission Time | |
---|---|
Task | B - 直方体 |
User | proteasome |
Language | Java7 (OpenJDK 1.7.0) |
Score | 100 |
Code Size | 408 Byte |
Status | AC |
Exec Time | 95 ms |
Memory | 20820 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_00.txt, 0_01.txt, 0_02.txt, 0_03.txt |
All | 0_00.txt, 0_01.txt, 0_02.txt, 0_03.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_00.txt | AC | 95 ms | 20564 KB |
0_01.txt | AC | 94 ms | 18772 KB |
0_02.txt | AC | 94 ms | 18772 KB |
0_03.txt | AC | 94 ms | 20820 KB |
1_00.txt | AC | 95 ms | 20820 KB |
1_01.txt | AC | 95 ms | 20820 KB |
1_02.txt | AC | 94 ms | 18900 KB |
1_03.txt | AC | 95 ms | 20820 KB |
1_04.txt | AC | 94 ms | 18900 KB |