結果
| 問題 | 
                            No.1915 Addition 
                             | 
                    
| コンテスト | |
| ユーザー | 
                             ikoma
                         | 
                    
| 提出日時 | 2022-04-29 22:46:55 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 44 ms / 2,000 ms | 
| コード長 | 261 bytes | 
| コンパイル時間 | 196 ms | 
| コンパイル使用メモリ | 81,836 KB | 
| 実行使用メモリ | 52,864 KB | 
| 最終ジャッジ日時 | 2024-06-29 04:23:24 | 
| 合計ジャッジ時間 | 1,731 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 10 | 
ソースコード
T=int(input())
for t in range(T):
    N=int(input())
    for i in range(1,19):
        x=N*(10**i - 1-3)
        if x%3==0:
            M=x//3
            print(x//3)
            A=N+M
            B=int(str(N)+str(M))
            assert B%A==0
            break
            
            
            
        
            
ikoma