結果
問題 |
No.2558 中国剰余定理
|
ユーザー |
|
提出日時 | 2023-12-02 14:32:08 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 103 bytes |
コンパイル時間 | 196 ms |
コンパイル使用メモリ | 82,300 KB |
実行使用メモリ | 67,456 KB |
最終ジャッジ日時 | 2024-09-26 16:45:30 |
合計ジャッジ時間 | 6,534 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | TLE * 1 -- * 2 |
other | -- * 29 |
ソースコード
A, B, a,b = map(int, input().split()) n = 1 while True: if n%A == a and n%B == b: print(n) exit()