結果
| 問題 | No.2558 中国剰余定理 |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-17 09:58:32 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 164 bytes |
| 記録 | |
| コンパイル時間 | 129 ms |
| コンパイル使用メモリ | 36,804 KB |
| 最終ジャッジ日時 | 2026-02-22 13:15:12 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 29 |
ソースコード
#include <stdio.h>
void main(void){
int A,B,a,b;
scanf("%d %d %d %d",&A,&B,&a,&b);
int i = 0;
while( !(i % A == a && i % B == b) ){
i++;
}
printf("%d",i);
}
Maeda