编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#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
Wrong Answer
得分:5
测试点 #1
Wrong Answer
得分:0
用时:2 ms
内存:196 KiB

输入文件(1.in

7 5

答案文件(1.out

1 35

用户输出

1 7

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #2
Wrong Answer
得分:0
用时:1 ms
内存:196 KiB

输入文件(2.in

67 26

答案文件(2.out

1 1742

用户输出

1 67

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #3
Wrong Answer
得分:0
用时:3 ms
内存:224 KiB

输入文件(3.in

52 15

答案文件(3.out

1 780

用户输出

1 52

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #4
Wrong Answer
得分:0
用时:3 ms
内存:280 KiB

输入文件(4.in

96 77

答案文件(4.out

1 7392

用户输出

1 96

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #5
Wrong Answer
得分:0
用时:2 ms
内存:236 KiB

输入文件(5.in

8 12

答案文件(5.out

4 24

用户输出

4 12

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #6
Wrong Answer
得分:0
用时:4 ms
内存:216 KiB

输入文件(6.in

87 33

答案文件(6.out

3 957

用户输出

3 87

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #7
Wrong Answer
得分:0
用时:3 ms
内存:372 KiB

输入文件(7.in

88 28

答案文件(7.out

4 616

用户输出

4 88

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #8
Wrong Answer
得分:0
用时:3 ms
内存:256 KiB

输入文件(8.in

76 54

答案文件(8.out

2 2052

用户输出

2 76

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #9
Wrong Answer
得分:0
用时:4 ms
内存:256 KiB

输入文件(9.in

6 75

答案文件(9.out

3 150

用户输出

3 75

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #10
Accepted
得分:100
用时:4 ms
内存:384 KiB

输入文件(10.in

53 53

答案文件(10.out

53 53

用户输出

53 53

系统信息

Exited with return code 0
测试点 #11
Wrong Answer
得分:0
用时:3 ms
内存:224 KiB

输入文件(11.in

15734 71136

答案文件(11.out

2 559626912

用户输出

2 71136

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #12
Wrong Answer
得分:0
用时:4 ms
内存:384 KiB

输入文件(12.in

70872 21669

答案文件(12.out

3 511908456

用户输出

3 70872

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #13
Wrong Answer
得分:0
用时:3 ms
内存:256 KiB

输入文件(13.in

99784 94882

答案文件(13.out

2 4733852744

用户输出

2 99784

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #14
Wrong Answer
得分:0
用时:5 ms
内存:208 KiB

输入文件(14.in

95038 97852

答案文件(14.out

2 4649829188

用户输出

2 97852

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #15
Wrong Answer
得分:0
用时:3 ms
内存:256 KiB

输入文件(15.in

94814 98836

答案文件(15.out

2 4685518252

用户输出

2 98836

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #16
Wrong Answer
得分:0
用时:4 ms
内存:256 KiB

输入文件(16.in

95890 93558

答案文件(16.out

2 4485638310

用户输出

2 95890

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #17
Wrong Answer
得分:0
用时:922 ms
内存:260 KiB

输入文件(17.in

528340267 186251667

答案文件(17.out

7 14057750781710727

用户输出

7 528340267

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #18
Wrong Answer
得分:0
用时:817 ms
内存:384 KiB

输入文件(18.in

367608218 157640544

答案文件(18.out

2 28974979732195296

用户输出

2 367608218

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #19
Time Limit Exceeded
得分:0
用时:1042 ms
内存:240 KiB

输入文件(19.in

324952863 177819387

答案文件(19.out

3 19260972967518327
测试点 #20
Time Limit Exceeded
得分:0
用时:1037 ms
内存:248 KiB

输入文件(20.in

541339672 595238966

答案文件(20.out

2 161113233308029576