結果
| 問題 | No.2558 中国剰余定理 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-30 16:33:03 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 77 ms / 2,000 ms |
| + 234µs | |
| コード長 | 276 bytes |
| 記録 | |
| コンパイル時間 | 225 ms |
| コンパイル使用メモリ | 95,440 KB |
| 実行使用メモリ | 83,072 KB |
| 最終ジャッジ日時 | 2026-09-06 21:26:41 |
| 合計ジャッジ時間 | 3,959 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 29 |
ソースコード
def I(): return input()
def N(): return int(input())
def M(): return map(int,input().split())
def L(): return list(map(int,input().split()))
#-----------------------------------------
A,B,a,b = M()
for x in range(A*B):
if x % A == a and x % B == b:
print(x)
break