結果
問題 |
No.1915 Addition
|
ユーザー |
|
提出日時 | 2022-04-29 21:48:47 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 211 bytes |
コンパイル時間 | 268 ms |
コンパイル使用メモリ | 82,248 KB |
実行使用メモリ | 82,236 KB |
最終ジャッジ日時 | 2024-06-29 03:11:34 |
合計ジャッジ時間 | 3,823 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | TLE * 1 -- * 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