結果
| 問題 |
No.1915 Addition
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-04-30 12:46:09 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 181 bytes |
| コンパイル時間 | 159 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 80,512 KB |
| 最終ジャッジ日時 | 2024-06-29 18:26:13 |
| 合計ジャッジ時間 | 3,908 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | TLE * 1 -- * 9 |
ソースコード
t=int(input())
def solve(n):
for i in range(1,10**6+1):
if int(str(n)+str(i))%(n+i)==0:
print(i)
break
for _ in range(t):
solve(int(input()))