Submission #3341720

Source Code Expand

Copy
N = gets.to_i
if N == 1
    puts 'Hello World'
else
    A, B = 2.times.map{gets.to_i}
    puts A + B
end

Submission Info

Submission Time
Task A - Programming Education
User betrue12
Language Ruby (2.3.3)
Score 100
Code Size 110 Byte
Status
Exec Time 7 ms
Memory 1788 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 s1.txt, s2.txt
All 100 / 100 in1.txt, in2.txt, in3.txt, in4.txt, in5.txt, s1.txt, s2.txt
Case Name Status Exec Time Memory
in1.txt 7 ms 1788 KB
in2.txt 7 ms 1788 KB
in3.txt 7 ms 1788 KB
in4.txt 7 ms 1788 KB
in5.txt 7 ms 1788 KB
s1.txt 7 ms 1788 KB
s2.txt 7 ms 1788 KB