Submission #1794829
Source Code Expand
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int x = scanner.nextInt(),y = scanner.nextInt(),z = scanner.nextInt(); int result = (x-z)/(y+z); System.out.println(result); } }
Submission Info
Submission Time | |
---|---|
Task | B - ISU |
User | m8618 |
Language | Java7 (OpenJDK 1.7.0) |
Score | 200 |
Code Size | 283 Byte |
Status | AC |
Exec Time | 97 ms |
Memory | 20820 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 200 / 200 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | example_0, example_1, example_2, example_3, example_4 |
All | example_0, example_1, example_2, example_3, example_4, rand_0, rand_1, rand_10, rand_11, rand_2, rand_3, rand_4, rand_5, rand_6, rand_7, rand_8, rand_9 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
example_0 | AC | 95 ms | 18772 KB |
example_1 | AC | 95 ms | 20820 KB |
example_2 | AC | 95 ms | 20820 KB |
example_3 | AC | 94 ms | 20820 KB |
example_4 | AC | 96 ms | 19028 KB |
rand_0 | AC | 94 ms | 20564 KB |
rand_1 | AC | 96 ms | 20564 KB |
rand_10 | AC | 95 ms | 19028 KB |
rand_11 | AC | 96 ms | 20820 KB |
rand_2 | AC | 97 ms | 20820 KB |
rand_3 | AC | 97 ms | 19028 KB |
rand_4 | AC | 94 ms | 20820 KB |
rand_5 | AC | 95 ms | 18900 KB |
rand_6 | AC | 94 ms | 18900 KB |
rand_7 | AC | 97 ms | 20820 KB |
rand_8 | AC | 95 ms | 20820 KB |
rand_9 | AC | 95 ms | 20820 KB |