結果
| 問題 | 
                            No.1915 Addition 
                             | 
                    
| コンテスト | |
| ユーザー | 
                             june19312
                         | 
                    
| 提出日時 | 2022-06-14 11:04:07 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 241 bytes | 
| コンパイル時間 | 197 ms | 
| コンパイル使用メモリ | 82,304 KB | 
| 実行使用メモリ | 80,640 KB | 
| 最終ジャッジ日時 | 2024-10-02 04:56:53 | 
| 合計ジャッジ時間 | 4,034 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | TLE * 1 -- * 9 | 
ソースコード
T = int(input())
for i in range(T):
    tmp = int(input())
    x = 1
    while True:
        tmp2 = int(str(tmp)+str(x))
        tmp3 = tmp+x
        if tmp2%tmp3 == 0:
            print(x)
            break
        else:
            x+=1
            
            
            
        
            
june19312