結果
| 問題 | No.3519 A/B問題 |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2025-02-16 13:09:01 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 499 bytes |
| 記録 | |
| コンパイル時間 | 289 ms |
| コンパイル使用メモリ | 85,532 KB |
| 実行使用メモリ | 95,128 KB |
| 平均クエリ数 | 719.90 |
| 最終ジャッジ日時 | 2026-05-01 21:01:59 |
| 合計ジャッジ時間 | 9,605 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 18 |
ソースコード
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)