結果
| 問題 | No.246 質問と回答 |
| コンテスト | |
| ユーザー |
mmmppp
|
| 提出日時 | 2017-03-02 05:17:28 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 104 bytes |
| 記録 | |
| コンパイル時間 | 204 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 29,400 KB |
| 平均クエリ数 | 31.00 |
| 最終ジャッジ日時 | 2024-07-16 12:23:40 |
| 合計ジャッジ時間 | 6,144 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 30 |
コンパイルメッセージ
Main.rb:6: warning: regex literal in condition Main.rb:7: warning: regex literal in condition Syntax OK
ソースコード
x=1+2**f=29
loop.any?{puts'? #{x}'
$>.flush
gets
f-=1
a=f<0?/1/?0:1:1<<f
/1/?x+=a: x-=a
f<0}
$><<'! '<<x
mmmppp