結果
問題 | No.2558 中国剰余定理 |
ユーザー |
|
提出日時 | 2023-12-02 14:53:01 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 63 ms / 2,000 ms |
コード長 | 218 bytes |
コンパイル時間 | 176 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 58,240 KB |
最終ジャッジ日時 | 2024-09-26 17:36:56 |
合計ジャッジ時間 | 2,570 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 29 |
ソースコード
inputs = input() inputs_arr = inputs.split(" ") A = int(inputs_arr[0]) B = int(inputs_arr[1]) a = int(inputs_arr[2]) b = int(inputs_arr[3]) for x in range(3000*3000): if x % A == a and x % B == b: print(x) break