結果
| 問題 |
No.246 質問と回答
|
| コンテスト | |
| ユーザー |
mmmppp
|
| 提出日時 | 2017-03-02 05:05:39 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 163 ms / 2,000 ms |
| コード長 | 110 bytes |
| コンパイル時間 | 49 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 29,144 KB |
| 平均クエリ数 | 31.00 |
| 最終ジャッジ日時 | 2024-07-16 20:10:04 |
| 合計ジャッジ時間 | 6,643 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 |
コンパイルメッセージ
Main.rb:2: warning: regex literal in condition Main.rb:2: 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