记录详情

Compile Error

foo.c: In function 'main':
foo.c:16:14: error: stray '\357' in program
   16 |         scanf("%d",&n);
      |              ^
foo.c:16:15: error: stray '\274' in program
   16 |         scanf("%d",&n);
      |               ^
foo.c:16:16: error: stray '\210' in program
   16 |         scanf("%d",&n);
      |                ^
foo.c:16:9: warning: statement with no effect [-Wunused-value]
   16 |         scanf("%d",&n);
      |         ^~~~~
foo.c:16:14: error: expected ';' before string constant
   16 |         scanf("%d",&n);
      |              ^  ~~~~
      |              ;
foo.c:16:24: error: expected statement before ')' token
   16 |         scanf("%d",&n);
      |                        ^
foo.c:18:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   18 |   scanf("%s",name);
      |   ^~~~~~~~~~~~~~~~
foo.c:19:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   19 |   scanf("%d",&k);
      |   ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1353 3A Don't be the last one
比赛
悬赏令第三周
语言
C
递交时间
2022-04-12 00:31:45
评测时间
2022-04-12 00:31:45
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes