結果
| 問題 | No.3519 A/B問題 |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2025-02-16 13:34:21 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 510 bytes |
| 記録 | |
| コンパイル時間 | 194 ms |
| コンパイル使用メモリ | 85,044 KB |
| 実行使用メモリ | 98,720 KB |
| 平均クエリ数 | 692.23 |
| 最終ジャッジ日時 | 2026-05-01 21:02:19 |
| 合計ジャッジ時間 | 9,181 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 RE * 20 |
ソースコード
DIGIT = 100
ans = ""
is_zero = False
for i in range(DIGIT - 1, -1, -1):
if is_zero:
ans = 10 * ans
continue
for j in range(9, -1, -1):
m = str(j + 1) + "0" * i
print("?", 1, m)
match input():
case "<":
continue
case "=":
is_zero = True
ans += j + 1
break
case ">":
ans += j + 1
break
print("!", ans if ans else 0)