結果

問題 No.24 数当てゲーム
ユーザー syaro
提出日時 2016-01-18 15:29:09
言語 Ruby
(3.4.1)
結果
AC  
実行時間 95 ms / 5,000 ms
コード長 61 bytes
コンパイル時間 330 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 12,160 KB
最終ジャッジ日時 2024-12-26 16:40:37
合計ジャッジ時間 2,077 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます
コンパイルメッセージ
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