Submission #3421451
Source Code Expand
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); if(N == 1) { System.out.println("Hello World"); }else { int A = sc.nextInt(); int B = sc.nextInt(); System.out.println(A+B); } } }
Submission Info
Submission Time | |
---|---|
Task | A - Programming Education |
User | HotakaBeat |
Language | Java8 (OpenJDK 1.8.0) |
Score | 100 |
Code Size | 325 Byte |
Status | AC |
Exec Time | 95 ms |
Memory | 22612 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | s1.txt, s2.txt |
All | in1.txt, in2.txt, in3.txt, in4.txt, in5.txt, s1.txt, s2.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
in1.txt | AC | 95 ms | 21332 KB |
in2.txt | AC | 92 ms | 22612 KB |
in3.txt | AC | 93 ms | 20564 KB |
in4.txt | AC | 92 ms | 18516 KB |
in5.txt | AC | 92 ms | 20564 KB |
s1.txt | AC | 92 ms | 20820 KB |
s2.txt | AC | 93 ms | 19412 KB |