結果

問題 No.1506 Unbalanced Pocky Game
ユーザー Takeky0Takeky0
提出日時 2021-05-15 20:49:37
言語 Crystal
(1.11.2)
結果
WA  
実行時間 -
コード長 121 bytes
コンパイル時間 11,647 ms
コンパイル使用メモリ 296,308 KB
実行使用メモリ 17,068 KB
最終ジャッジ日時 2024-04-14 11:03:01
合計ジャッジ時間 14,466 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,816 KB
testcase_01 AC 2 ms
6,812 KB
testcase_02 AC 2 ms
6,816 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 5 ms
6,940 KB
testcase_14 AC 7 ms
6,944 KB
testcase_15 AC 6 ms
6,944 KB
testcase_16 AC 13 ms
9,216 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 7 ms
6,940 KB
testcase_22 AC 10 ms
6,940 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 28 ms
16,072 KB
testcase_27 AC 28 ms
17,068 KB
testcase_28 AC 27 ms
13,312 KB
testcase_29 WA -
testcase_30 AC 27 ms
15,292 KB
testcase_31 WA -
testcase_32 AC 27 ms
14,780 KB
testcase_33 AC 29 ms
14,644 KB
testcase_34 AC 27 ms
13,196 KB
testcase_35 WA -
testcase_36 WA -
testcase_37 AC 2 ms
6,940 KB
testcase_38 WA -
testcase_39 WA -
testcase_40 WA -
testcase_41 AC 2 ms
6,944 KB
testcase_42 AC 2 ms
6,940 KB
testcase_43 WA -
testcase_44 AC 2 ms
6,940 KB
testcase_45 AC 1 ms
6,944 KB
testcase_46 AC 10 ms
6,940 KB
testcase_47 WA -
testcase_48 WA -
testcase_49 WA -
testcase_50 WA -
testcase_51 AC 12 ms
6,944 KB
testcase_52 AC 9 ms
6,940 KB
testcase_53 WA -
testcase_54 AC 7 ms
6,940 KB
testcase_55 AC 6 ms
6,944 KB
testcase_56 AC 5 ms
6,940 KB
testcase_57 AC 11 ms
6,940 KB
testcase_58 WA -
testcase_59 AC 4 ms
6,940 KB
testcase_60 WA -
testcase_61 AC 10 ms
6,940 KB
testcase_62 WA -
testcase_63 AC 7 ms
6,940 KB
testcase_64 AC 12 ms
6,940 KB
testcase_65 AC 7 ms
6,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=read_line.to_i
a=read_line.split.map(&.to_i).reverse
x=true
a.each do |i|
    x= !x || i>2
end
puts x ? "Alice" : "Bob"
0