编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#1769 #993. 汉诺塔问题 Wrong Answer 26 59 ms 400 K C / 770 B t330026215 2023-10-15 16:49:36
显示原始代码
#include <stdio.h>
int main(int argc, char *argv[]) {
    int a;
    scanf("%d", &a);
    if (a == 1)
        printf("1\n");
    if (a == 2)
        printf("3\n");
    if (a == 3)
        printf("7\n");
    if (a == 4)
        printf("15\n");
    if (a == 5)
        printf("31\n");
    if (a == 6)
        printf("63\n");
    if (a == 7)
        printf("127\n");
    if (a == 8)
        printf("255\n");
    if (a == 9)
        printf("511\n");
    if (a == 10)
        printf("1023\n");
    if (a == 11)
        printf("2047\n");
    if (a == 12)
        printf("4095\n");
    if (a == 13)
        printf("8191\n");
    if (a == 14)
        printf("16383\n");
    if (a == 15)
        printf("32767\n");
    if (a == 16)
        printf("63\n");
    if (a == 17)
        printf("127\n");
    if (a == 18)
        printf("255\n");
    if (a == 19)
        printf("511\n");
    if (a == 20)
        printf("1023\n");
    if (a == 21)
        printf("2047\n");
    return 0;
}
子任务 #1
Wrong Answer
得分:26
测试点 #1
Accepted
得分:100
用时:4 ms
内存:312 KiB

输入文件(hanoi0.in

5

答案文件(hanoi0.out

31

用户输出

31

系统信息

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

输入文件(hanoi1.in

4

答案文件(hanoi1.out

15

用户输出

15

系统信息

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

输入文件(hanoi3.in

24

答案文件(hanoi3.out

16777215

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(hanoi4.in

22

答案文件(hanoi4.out

4194303

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #5
Accepted
得分:100
用时:3 ms
内存:276 KiB

输入文件(hanoi5.in

7

答案文件(hanoi5.out

127

用户输出

127

系统信息

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

输入文件(hanoi6.in

29

答案文件(hanoi6.out

536870911

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(hanoi7.in

28

答案文件(hanoi7.out

268435455

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(hanoi8.in

14

答案文件(hanoi8.out

16383

用户输出

16383

系统信息

Exited with return code 0
测试点 #9
Accepted
得分:100
用时:3 ms
内存:228 KiB

输入文件(hanoi9.in

8

答案文件(hanoi9.out

255

用户输出

255

系统信息

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

输入文件(hanoi10.in

51

答案文件(hanoi10.out

2251799813685247

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(hanoi11.in

55

答案文件(hanoi11.out

36028797018963967

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(hanoi12.in

53

答案文件(hanoi12.out

9007199254740991

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(hanoi13.in

42

答案文件(hanoi13.out

4398046511103

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(hanoi14.in

51

答案文件(hanoi14.out

2251799813685247

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(hanoi15.in

31

答案文件(hanoi15.out

2147483647

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(hanoi16.in

59

答案文件(hanoi16.out

576460752303423487

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(hanoi17.in

58

答案文件(hanoi17.out

288230376151711743

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(hanoi18.in

46

答案文件(hanoi18.out

70368744177663

Special Judge 信息

Files user_out and answer differ

系统信息

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

输入文件(hanoi19.in

41

答案文件(hanoi19.out

2199023255551

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0