結果

問題 No.1183 コイン遊び
ユーザー yuruhiyayuruhiya
提出日時 2021-01-31 18:15:50
言語 Ruby
(3.3.0)
結果
AC  
実行時間 1,374 ms / 2,000 ms
コード長 79 bytes
コンパイル時間 356 ms
コンパイル使用メモリ 11,368 KB
実行使用メモリ 131,760 KB
最終ジャッジ日時 2023-09-11 12:09:05
合計ジャッジ時間 33,223 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
15,216 KB
testcase_01 AC 79 ms
15,092 KB
testcase_02 AC 80 ms
15,012 KB
testcase_03 AC 78 ms
15,148 KB
testcase_04 AC 78 ms
15,116 KB
testcase_05 AC 77 ms
15,216 KB
testcase_06 AC 80 ms
15,032 KB
testcase_07 AC 79 ms
15,040 KB
testcase_08 AC 84 ms
15,048 KB
testcase_09 AC 83 ms
15,204 KB
testcase_10 AC 102 ms
16,740 KB
testcase_11 AC 147 ms
24,216 KB
testcase_12 AC 790 ms
95,912 KB
testcase_13 AC 723 ms
93,736 KB
testcase_14 AC 1,124 ms
131,760 KB
testcase_15 AC 1,232 ms
105,076 KB
testcase_16 AC 1,237 ms
105,116 KB
testcase_17 AC 1,228 ms
105,188 KB
testcase_18 AC 1,236 ms
104,640 KB
testcase_19 AC 1,239 ms
104,696 KB
testcase_20 AC 1,234 ms
104,572 KB
testcase_21 AC 1,032 ms
98,008 KB
testcase_22 AC 1,034 ms
97,772 KB
testcase_23 AC 1,034 ms
97,752 KB
testcase_24 AC 1,025 ms
97,988 KB
testcase_25 AC 1,236 ms
104,456 KB
testcase_26 AC 1,231 ms
104,604 KB
testcase_27 AC 1,237 ms
104,692 KB
testcase_28 AC 1,231 ms
104,448 KB
testcase_29 AC 1,032 ms
97,752 KB
testcase_30 AC 1,374 ms
99,928 KB
testcase_31 AC 1,242 ms
104,512 KB
testcase_32 AC 1,233 ms
104,476 KB
testcase_33 AC 1,235 ms
105,008 KB
testcase_34 AC 1,225 ms
104,996 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - n
Syntax OK

ソースコード

diff #

n,a,b=$<.map{_1.split.map &:to_i}
p a.zip(b).map{_1!=_2}.chunk{_1}.count{_1[0]}
0