记录详情

Compile Error

foo.c: In function 'main':
foo.c:5:9: warning: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 |         scanf_s(“%d%d%d",&a,&b,&c);
      |         ^~~~~~~
      |         scanf
foo.c:5:17: error: stray '\342' in program
    5 |         scanf_s(<U+201C>%d%d%d",&a,&b,&c);
      |                 ^~~~~~~~
foo.c:5:18: error: expected expression before '%' token
    5 |         scanf_s(“%d%d%d",&a,&b,&c);
      |                  ^
foo.c:5:24: warning: missing terminating " character
    5 |         scanf_s(“%d%d%d",&a,&b,&c);
      |                        ^
foo.c:5:24: error: missing terminating " character
    5 |         scanf_s(“%d%d%d",&a,&b,&c);
      |                        ^~~~~~~~~~~~
foo.c:7:30: error: expected ';' before '}' token
    7 |     printf("hello, world\n");
      |                              ^
      |                              ;
    8 | }
      | ~                             
foo.c:4:19: warning: unused variable 't' [-Wunused-variable]
    4 |         int a,b,c,t;
      |                   ^
foo.c:4:17: warning: unused variable 'c' [-Wunused-variable]
    4 |         int a,b,c,t;
      |                 ^
foo.c:4:15: warning: unused variable 'b' [-Wunused-variable]
    4 |         int a,b,c,t;
      |               ^
foo.c:4:13: warning: unused variable 'a' [-Wunused-variable]
    4 |         int a,b,c,t;
      |             ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
比赛
2023年新生赛(第一场)
语言
C
递交时间
2023-08-15 19:59:20
评测时间
2023-08-15 19:59:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes