結果
| 問題 | No.3519 A/B問題 |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2025-02-16 13:37:03 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 574 bytes |
| 記録 | |
| コンパイル時間 | 230 ms |
| コンパイル使用メモリ | 85,632 KB |
| 実行使用メモリ | 90,548 KB |
| 平均クエリ数 | 855.17 |
| 最終ジャッジ日時 | 2026-05-01 21:02:29 |
| 合計ジャッジ時間 | 8,449 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 28 WA * 2 |
ソースコード
DIGIT = 100
ans = ""
is_zero = False
for i in range(DIGIT - 1, -1, -1):
if is_zero:
ans += "0"
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 += str(j + 1)
break
case ">":
ans += str(j + 1)
break
else:
ans += "0"
ans = ans.strip("0")
print("!", ans if len(ans) > 0 else 0)