Submission #19724301


Source Code Expand

Copy
N = gets.to_i
p (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 300
Code Size 98 Byte
Status AC
Exec Time 63 ms
Memory 14432 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 300 / 300
Status
AC × 3
AC × 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 AC 60 ms 13988 KB
handmade_01.txt AC 60 ms 14348 KB
handmade_02.txt AC 57 ms 14128 KB
random_00.txt AC 60 ms 14396 KB
random_01.txt AC 62 ms 14228 KB
random_02.txt AC 62 ms 14432 KB
random_03.txt AC 61 ms 14248 KB
random_04.txt AC 59 ms 14428 KB
random_05.txt AC 63 ms 14280 KB
random_06.txt AC 63 ms 14136 KB
random_07.txt AC 61 ms 14232 KB
random_08.txt AC 62 ms 14236 KB
random_09.txt AC 61 ms 14328 KB
sample_01.txt AC 62 ms 14168 KB
sample_02.txt AC 60 ms 14104 KB
sample_03.txt AC 63 ms 14096 KB