結果

問題 No.1945 Go Push!
ユーザー maimai
提出日時 2022-05-20 21:53:05
言語 Ruby
(3.2.2)
結果
AC  
実行時間 162 ms / 2,000 ms
コード長 96 bytes
コンパイル時間 364 ms
コンパイル使用メモリ 11,896 KB
実行使用メモリ 29,652 KB
最終ジャッジ日時 2023-10-20 12:26:56
合計ジャッジ時間 4,371 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
16,116 KB
testcase_01 AC 81 ms
16,116 KB
testcase_02 AC 81 ms
16,120 KB
testcase_03 AC 83 ms
16,116 KB
testcase_04 AC 85 ms
16,116 KB
testcase_05 AC 83 ms
16,116 KB
testcase_06 AC 82 ms
16,116 KB
testcase_07 AC 80 ms
16,116 KB
testcase_08 AC 104 ms
19,444 KB
testcase_09 AC 109 ms
19,980 KB
testcase_10 AC 148 ms
26,316 KB
testcase_11 AC 110 ms
19,984 KB
testcase_12 AC 131 ms
23,480 KB
testcase_13 AC 137 ms
24,320 KB
testcase_14 AC 87 ms
16,376 KB
testcase_15 AC 105 ms
19,544 KB
testcase_16 AC 104 ms
19,148 KB
testcase_17 AC 104 ms
19,056 KB
testcase_18 AC 116 ms
21,176 KB
testcase_19 AC 145 ms
27,024 KB
testcase_20 AC 139 ms
25,272 KB
testcase_21 AC 111 ms
21,080 KB
testcase_22 AC 162 ms
29,652 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:3: warning: assigned but unused variable - n
Syntax OK

ソースコード

diff #

def lscan; gets.split.map(&:to_i); end

n = gets
puts lscan.reduce(:^) == 0 ? 'Second' : 'First'
0