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