結果

問題 No.99 ジャンピング駒
ユーザー syokeininsyokeinin
提出日時 2014-12-10 17:40:31
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 109 bytes
コンパイル時間 60 ms
コンパイル使用メモリ 11,492 KB
実行使用メモリ 22,232 KB
最終ジャッジ日時 2023-09-02 13:56:08
合計ジャッジ時間 1,619 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
22,232 KB
testcase_01 AC 124 ms
21,960 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets.to_i
list = gets.to_s.split(" ").map(&:to_i)
puts 0 if list.size().even?
puts 1 if list.size().odd?
0