結果
問題 | No.24 数当てゲーム |
ユーザー | mmmppp |
提出日時 | 2017-02-17 04:32:36 |
言語 | Ruby (3.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 54 bytes |
コンパイル時間 | 67 ms |
コンパイル使用メモリ | 11,252 KB |
実行使用メモリ | 15,396 KB |
最終ジャッジ日時 | 2023-08-29 06:01:17 |
合計ジャッジ時間 | 1,704 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 79 ms
15,112 KB |
testcase_01 | AC | 80 ms
15,036 KB |
testcase_02 | WA | - |
testcase_03 | AC | 79 ms
15,224 KB |
testcase_04 | AC | 82 ms
15,152 KB |
testcase_05 | AC | 83 ms
15,040 KB |
testcase_06 | AC | 80 ms
15,340 KB |
testcase_07 | AC | 79 ms
15,144 KB |
testcase_08 | AC | 81 ms
15,032 KB |
testcase_09 | AC | 79 ms
15,276 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
ソースコード
s=*?0..?9;$<.map{|i|a=i.split;i[11]?s&=a :s-=a};puts s