結果

問題 No.24 数当てゲーム
ユーザー syarosyaro
提出日時 2016-01-18 15:29:09
言語 Ruby
(3.3.0)
結果
AC  
実行時間 82 ms / 5,000 ms
コード長 61 bytes
コンパイル時間 40 ms
コンパイル使用メモリ 11,336 KB
実行使用メモリ 15,200 KB
最終ジャッジ日時 2023-08-27 06:11:03
合計ジャッジ時間 1,591 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
15,068 KB
testcase_01 AC 76 ms
15,040 KB
testcase_02 AC 75 ms
15,136 KB
testcase_03 AC 77 ms
15,200 KB
testcase_04 AC 76 ms
14,956 KB
testcase_05 AC 77 ms
15,040 KB
testcase_06 AC 82 ms
15,152 KB
testcase_07 AC 77 ms
15,080 KB
testcase_08 AC 79 ms
15,128 KB
testcase_09 AC 79 ms
15,024 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:3: warning: `:' after local variable or literal is interpreted as binary operator
Main.rb:3: warning: even though it seems like symbol literal
Syntax OK

ソースコード

diff #

gets
s=*?0..?9
$<.map{|l|*a,r=l.split;r>?Y?s&=a :s-=a}
puts s
0