結果
問題 | No.1915 Addition |
ユーザー |
|
提出日時 | 2023-01-29 17:03:25 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 190 bytes |
コンパイル時間 | 177 ms |
コンパイル使用メモリ | 81,908 KB |
実行使用メモリ | 75,672 KB |
最終ジャッジ日時 | 2024-06-29 13:31:53 |
合計ジャッジ時間 | 6,862 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 1 WA * 9 |
ソースコード
T = int(input()) for _ in range(T): N = int(input()) n = str(N) for k in range(1, 10 ** 5 + 1): if int(n + str(k)) % (N + k) == 0: print(k) break