Submission #19724271


Source Code Expand

Copy
N = gets.to_i
(N-11..N-1).inject{|result, n1| result*n1}/(1..11).inject{|result, n1| result*n1}

Submission Info

Submission Time
Task C - Duodecim Ferra
User omamesan
Language Ruby (2.7.1)
Score 0
Code Size 96 Byte
Status WA
Exec Time 62 ms
Memory 14420 KB

Compile Error

./Main.rb:2: warning: possibly useless use of / in void context

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 300
Status
WA × 3
WA × 16
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All handmade_00.txt, handmade_01.txt, handmade_02.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
handmade_00.txt WA 59 ms 13988 KB
handmade_01.txt WA 57 ms 14156 KB
handmade_02.txt WA 58 ms 14092 KB
random_00.txt WA 56 ms 14184 KB
random_01.txt WA 59 ms 14376 KB
random_02.txt WA 57 ms 14420 KB
random_03.txt WA 58 ms 14212 KB
random_04.txt WA 62 ms 14152 KB
random_05.txt WA 57 ms 14232 KB
random_06.txt WA 59 ms 14120 KB
random_07.txt WA 57 ms 14168 KB
random_08.txt WA 57 ms 14176 KB
random_09.txt WA 59 ms 14352 KB
sample_01.txt WA 57 ms 14380 KB
sample_02.txt WA 57 ms 14044 KB
sample_03.txt WA 50 ms 14076 KB