记录详情

Compile Error

/in/foo.c:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include〈studio.h〉
         ^
/in/foo.c: In function 'main':
/in/foo.c:5:12: error: stray '\357' in program
     scanf_s("%d %d %d", &a, &b, &c);
            ^
/in/foo.c:5:13: error: stray '\274' in program
     scanf_s("%d %d %d", &a, &b, &c);
             ^
/in/foo.c:5:14: error: stray '\210' in program
     scanf_s("%d %d %d", &a, &b, &c);
              ^
/in/foo.c:5:5: error: 'scanf_s' undeclared (first use in this function)
     scanf_s("%d %d %d", &a, &b, &c);
     ^~~~~~~
/in/foo.c:5:5: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:5:15: error: expected ';' before string constant
     scanf_s("%d %d %d", &a, &b, &c);
               ^~~~~~~~~~
/in/foo.c:5:37: error: stray '\357' in program
     scanf_s("%d %d %d", &a, &b, &c);
                                     ^
/in/foo.c:5:38: error: stray '\274' in program
     scanf_s("%d %d %d", &a, &b, &c);
                                      ^
/in/foo.c:5:39: error: stray '\211' in program
     scanf_s("%d %d %d", &a, &b, &c);
                                       ^
/in/foo.c:5:40: error: stray '\357' in program
     scanf_s("%d %d %d", &a, &b, &c);
                                        ^
/in/foo.c:5:41: error: stray '\274' in program
     scanf_s("%d %d %d", &a, &b, &c);
                                         ^
/in/foo.c:5:42: error: stray '\233' in program
     scanf_s("%d %d %d", &a, &b, &c);
                                          ^
/in/foo.c:6:8: error: stray '\357' in program
     if (a < b)
        ^
/in/foo.c:6:9: error: stray '\274' in program
     if (a < b)
         ^
/in/foo.c:6:10: error: stray '\210' in program
     if (a < b)
          ^
/in/foo.c:6:16: error: expected statement before ')' token
     if (a < b)
                ^
/in/foo.c:24:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
     printf("%d %d %d", a, b, c);
     ^~~~~~
/in/foo.c:24:5: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:24:5: note: include '<stdio.h>' or provide a declaration of 'printf'

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C
递交时间
2024-08-16 12:27:43
评测时间
2024-08-16 12:27:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes