运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
627164 Xiaoxj 1043 - 找女朋友 编译错误 0 0 MS 0 KB C 324 3个月前
暂时无法获取本题测试点详情。

Main.c:1:2: error: invalid preprocessing directive #clude; did you mean #include?
1 | #clude<stdio.h>
| ^~~~~
| include
Main.c: In function 'main':
Main.c:7:10: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
7 | scanf("%d",&T);
| ^~~~~
Main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
+++ |+#include <stdio.h>
1 | #clude<stdio.h>
Main.c:7:10: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
7 | scanf("%d",&T);
| ^~~~~
Main.c:7:10: note: include '<stdio.h>' or provide a declaration of 'scanf'
Main.c:14:25: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
14 | printf("%d
",(x2-x1)+(y2-y1));
| ^~~~~~
Main.c:14:25: note: include '<stdio.h>' or provide a declaration of 'printf'
Main.c:14:25: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
Main.c:14:25: note: include '<stdio.h>' or provide a declaration of 'printf'
Main.c:17:25: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
17 | printf("Single dog!
");
| ^~~~~~
Main.c:17:25: note: include '<stdio.h>' or provide a declaration of 'printf'