結果

問題 No.1945 Go Push!
ユーザー mai
提出日時 2022-05-20 21:53:05
言語 Ruby
(3.4.1)
結果
AC  
実行時間 154 ms / 2,000 ms
コード長 96 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 26,112 KB
最終ジャッジ日時 2024-09-20 07:57:07
合計ジャッジ時間 3,377 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます
コンパイルメッセージ
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