运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
310195 | Haru | 1431 - 破解序列锁(15 分) | 编译错误 | 0 | 0 MS | 0 KB | C | 1612 | 2年前 |
Main.c: In function ‘main’:
Main.c:7:13: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=]
7 | scanf("%d",&n);
| ~^ ~~
| | |
| | long int *
| int *
| %ld
Main.c:16:17: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=]
16 | scanf("%d",&list1[i]);
| ~^ ~~~~~~~~~
| | |
| | long int *
| int *
| %ld
Main.c:36:20: error: expected ‘;’ before ‘}’ token
36 | printf("4")
| ^
| ;
37 | }
| ~