用户输出
1 7
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#103624 | #106. zxh的同值猜想 | Wrong Answer | 5 | 3869 ms | 384 K | C / 543 B | 安然 | 2024-03-24 19:26:39 |
#include <stdio.h>
int max(int x, int y) {
if (x > y) {
return x;
} else {
return y;
}
}
int min(int m, int n) {
if (m < n) {
return m;
} else {
return n;
}
}
int main() {
int a, b, D, d;
scanf("%d%d", &a, &b);
int s = min(a, b);
for (int i = 1; i <= s; i++) {
if (a % i == 0 && b % i == 0) {
d = i;
}
}
int z = max(a, b);
for (D = z; D > z; D++) {
if (D % a == 0 && D % b == 0) {
break;
}
}
printf("%d %d", d, D);
return 0;
}
用户输出
1 7
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1 67
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1 52
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
1 96
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
4 12
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
3 87
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
4 88
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
2 76
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
3 75
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
2 71136
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
3 70872
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
2 99784
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
2 97852
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
2 98836
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
2 95890
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
7 528340267
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
用户输出
2 367608218
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0