记录详情

Compile Error

foo.c: In function 'main':
foo.c:15:10: error: stray '\357' in program
   15 |  return 0;
      |          ^
foo.c:15:11: error: stray '\274' in program
   15 |  return 0;
      |           ^
foo.c:15:12: error: stray '\233' in program
   15 |  return 0;
      |            ^
foo.c:15:10: error: expected ';' before '}' token
   15 |  return 0;
      |          ^
      |          ;
   16 | }
      | ~         
foo.c:11:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   11 |  scanf("%d",&n);
      |  ^~~~~~~~~~~~~~
foo.c:13:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   13 |   scanf("%d",&a[i]);
      |   ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
比赛
2022春 C语言课程设计 作业2
语言
C
递交时间
2022-03-29 11:18:51
评测时间
2022-03-29 11:18:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes