結果
問題 |
No.1915 Addition
|
ユーザー |
![]() |
提出日時 | 2022-04-29 23:04:18 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 292 bytes |
コンパイル時間 | 264 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 17,952 KB |
最終ジャッジ日時 | 2024-06-29 04:43:20 |
合計ジャッジ時間 | 3,926 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | TLE * 1 -- * 9 |
ソースコード
from random import randint from random import seed def solve(): sn = input() n = int(sn) while True: m = randint(1, 10**5) sm = str(m) a = n+m b = int(sn+sm) if b%a == 0: break print(m) t = int(input()) while t: solve() t -= 1