結果

問題 No.24 数当てゲーム
ユーザー mmmppp
提出日時 2017-02-17 04:49:43
言語 Ruby
(3.4.1)
結果
AC  
実行時間 105 ms / 5,000 ms
コード長 59 bytes
コンパイル時間 55 ms
コンパイル使用メモリ 7,296 KB
実行使用メモリ 12,160 KB
最終ジャッジ日時 2024-12-30 21:52:25
合計ジャッジ時間 1,925 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます
コンパイルメッセージ
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

ソースコード

diff #

gets;s=*?0..?9;$<.map{|i|a=i.split;i[11]?s&=a :s-=a};puts s
0