# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
213380 |
2020-03-25T16:28:58 Z |
berryzed |
if-else 문 1 (BSC_0_8) |
Java 11 |
|
131 ms |
13940 KB |
import java.util.Scanner;
public class if1 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
if (a == 0) System.out.println("zero");
else System.out.println("nonzero");
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
130 ms |
13808 KB |
Output is correct |
2 |
Correct |
130 ms |
13844 KB |
Output is correct |
3 |
Correct |
124 ms |
13852 KB |
Output is correct |
4 |
Correct |
127 ms |
13676 KB |
Output is correct |
5 |
Correct |
128 ms |
13808 KB |
Output is correct |
6 |
Correct |
131 ms |
13940 KB |
Output is correct |
7 |
Correct |
129 ms |
13560 KB |
Output is correct |
8 |
Correct |
130 ms |
13808 KB |
Output is correct |
9 |
Correct |
129 ms |
13588 KB |
Output is correct |
10 |
Correct |
125 ms |
13488 KB |
Output is correct |