Submission #172397


Source Code Expand

Copy
require "date"

y = gets.to_i
m = gets.to_i
d = gets.to_i

d1 = Date.new( y, m, d )
d2 = Date.new( 2014, 5, 17 )

p ( d2 - d1 ).to_i

Submission Info

Submission Time
Task A - 経過日数
User torus711
Language Ruby (1.9.3)
Score 0
Code Size 143 Byte
Status WA
Exec Time 209 ms
Memory 4768 KB

Compile Error

./Main.rb:10: warning: (...) interpreted as grouped expression

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
AC × 3
WA × 1
AC × 8
WA × 16
Set Name Test Cases
Sample subtask0_sample01.txt, subtask0_sample02.txt, subtask0_sample03.txt, subtask0_sample04.txt
All subtask0_sample01.txt, subtask0_sample02.txt, subtask0_sample03.txt, subtask0_sample04.txt, subtask1_01.txt, subtask1_02.txt, subtask1_03.txt, subtask1_04.txt, subtask1_05.txt, subtask1_06.txt, subtask1_07.txt, subtask1_08.txt, subtask1_09.txt, subtask1_10.txt, subtask1_11.txt, subtask1_12.txt, subtask1_13.txt, subtask1_14.txt, subtask1_15.txt, subtask1_16.txt, subtask1_17.txt, subtask1_18.txt, subtask1_19.txt, subtask1_20.txt
Case Name Status Exec Time Memory
subtask0_sample01.txt AC 209 ms 4768 KB
subtask0_sample02.txt WA 67 ms 4508 KB
subtask0_sample03.txt AC 61 ms 4512 KB
subtask0_sample04.txt AC 63 ms 4508 KB
subtask1_01.txt WA 63 ms 4512 KB
subtask1_02.txt AC 71 ms 4676 KB
subtask1_03.txt WA 69 ms 4512 KB
subtask1_04.txt WA 70 ms 4508 KB
subtask1_05.txt AC 61 ms 4508 KB
subtask1_06.txt AC 61 ms 4516 KB
subtask1_07.txt WA 61 ms 4512 KB
subtask1_08.txt WA 61 ms 4504 KB
subtask1_09.txt AC 70 ms 4512 KB
subtask1_10.txt WA 67 ms 4504 KB
subtask1_11.txt WA 67 ms 4516 KB
subtask1_12.txt AC 66 ms 4504 KB
subtask1_13.txt WA 59 ms 4512 KB
subtask1_14.txt WA 58 ms 4512 KB
subtask1_15.txt WA 65 ms 4512 KB
subtask1_16.txt WA 61 ms 4516 KB
subtask1_17.txt WA 73 ms 4512 KB
subtask1_18.txt WA 72 ms 4508 KB
subtask1_19.txt WA 62 ms 4520 KB
subtask1_20.txt WA 63 ms 4516 KB