結果
問題 | No.24 数当てゲーム |
ユーザー | mmmppp |
提出日時 | 2017-02-17 06:06:49 |
言語 | Ruby (3.3.0) |
結果 |
AC
|
実行時間 | 85 ms / 5,000 ms |
コード長 | 60 bytes |
コンパイル時間 | 119 ms |
コンパイル使用メモリ | 11,464 KB |
実行使用メモリ | 15,296 KB |
最終ジャッジ日時 | 2023-08-29 06:15:06 |
合計ジャッジ時間 | 1,751 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 80 ms
15,220 KB |
testcase_01 | AC | 79 ms
15,296 KB |
testcase_02 | AC | 80 ms
15,108 KB |
testcase_03 | AC | 80 ms
15,140 KB |
testcase_04 | AC | 80 ms
15,152 KB |
testcase_05 | AC | 85 ms
15,192 KB |
testcase_06 | AC | 77 ms
15,296 KB |
testcase_07 | AC | 80 ms
15,128 KB |
testcase_08 | AC | 82 ms
15,132 KB |
testcase_09 | AC | 79 ms
15,128 KB |
コンパイルメッセージ
Main.rb:1: warning: `:' after local variable or literal is interpreted as binary operator Main.rb:1: warning: even though it seems like symbol literal Syntax OK
ソースコード
gets;s=*?0..?9;puts$<.map{|i|a=i.split;i[11]?s&=a :s-=a}[-1]