結果
| 問題 | No.1915 Addition |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-04-29 21:48:47 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 211 bytes |
| 記録 | |
| コンパイル時間 | 331 ms |
| コンパイル使用メモリ | 85,256 KB |
| 実行使用メモリ | 96,328 KB |
| 最終ジャッジ日時 | 2026-03-18 12:41:06 |
| 合計ジャッジ時間 | 28,604 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 TLE * 9 |
ソースコード
t = int(input())
for _ in range(t):
n = int(input())
f = 1
while True:
a = n + f
b = int(str(n) + str(f))
if b % a == 0:
print(f)
break
f += 1