Submission #51702871


Source Code Expand

N,*A = $<.read.split.map(&:to_i)
puts(0<A.max ? 'Yes':'No')

Submission Info

Submission Time
Task C - Infinity
User ds14050
Language Ruby (ruby 3.2.2)
Score 200
Code Size 62 Byte
Status AC
Exec Time 100 ms
Memory 32588 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 23
Set Name Test Cases
Sample example0.txt, example1.txt, example2.txt
All example0.txt, example1.txt, example2.txt, maximum0.txt, maximum1.txt, maximum2.txt, maximum3.txt, maximum4.txt, random0.txt, random1.txt, random10.txt, random11.txt, random12.txt, random13.txt, random14.txt, random2.txt, random3.txt, random4.txt, random5.txt, random6.txt, random7.txt, random8.txt, random9.txt
Case Name Status Exec Time Memory
example0.txt AC 100 ms 17064 KiB
example1.txt AC 44 ms 17072 KiB
example2.txt AC 44 ms 17280 KiB
maximum0.txt AC 84 ms 32436 KiB
maximum1.txt AC 83 ms 32412 KiB
maximum2.txt AC 83 ms 32448 KiB
maximum3.txt AC 84 ms 32588 KiB
maximum4.txt AC 83 ms 32492 KiB
random0.txt AC 62 ms 23592 KiB
random1.txt AC 74 ms 27456 KiB
random10.txt AC 61 ms 23584 KiB
random11.txt AC 54 ms 20408 KiB
random12.txt AC 45 ms 18060 KiB
random13.txt AC 61 ms 24832 KiB
random14.txt AC 69 ms 26612 KiB
random2.txt AC 63 ms 24380 KiB
random3.txt AC 49 ms 19140 KiB
random4.txt AC 50 ms 19640 KiB
random5.txt AC 45 ms 17452 KiB
random6.txt AC 57 ms 21624 KiB
random7.txt AC 79 ms 30636 KiB
random8.txt AC 58 ms 21756 KiB
random9.txt AC 79 ms 30672 KiB