运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
628834 sanjuu2024 1059 - 三角形 编译错误 0 0 MS 0 KB C 218 1个月前
暂时无法获取本题测试点详情。

Main.c: In function 'main':
Main.c:4:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
4 | scanf("%d %d %d",a,b,c);
| ~^ ~
| | |
| int * int
Main.c:4:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
4 | scanf("%d %d %d",a,b,c);
| ~^ ~
| | |
| int * int
Main.c:4:23: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'int' [-Wformat=]
4 | scanf("%d %d %d",a,b,c);
| ~^ ~
| | |
| int * int
Main.c:6:85: error: expected ')' before ';' token
6 | if (a*a+b*b == c*c || a*a+c*c == b*b || b*b+c*c == a*a) printf("yes";)
| ~ ^
| )
Main.c:6:87: error: expected ';' before 'else'
6 | if (a*a+b*b == c*c || a*a+c*c == b*b || b*b+c*c == a*a) printf("yes";)
| ^
| ;
7 | else printf("no");
| ~~~~