记录详情

Compile Error

foo.c: In function 'main':
foo.c:6:20: error: expected ')' before '\U0000ff09'
    6 |    for (i=0;i<n;i++){
      |        ~           ^~
      |                    )
foo.c:14:5: error: expected expression before '}' token
   14 |     }
      |     ^
foo.c:4:23: warning: unused variable 'count' [-Wunused-variable]
    4 |    int max_value = 0, count = 0;
      |                       ^~~~~
foo.c:4:8: warning: unused variable 'max_value' [-Wunused-variable]
    4 |    int max_value = 0, count = 0;
      |        ^~~~~~~~~
foo.c:3:14: warning: unused variable 'num' [-Wunused-variable]
    3 |    int n, i, num;
      |              ^~~
foo.c: At top level:
foo.c:15:13: error: expected declaration specifiers or '...' before string constant
   15 |     printf ("%dIn", count);
      |             ^~~~~~
foo.c:15:21: error: unknown type name 'count'
   15 |     printf ("%dIn", count);
      |                     ^~~~~
foo.c:16:5: error: expected identifier or '(' before 'return'
   16 |     return 0;
      |     ^~~~~~
foo.c:17:1: error: expected identifier or '(' before '}' token
   17 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
1-4 最大值的个数
比赛
2023年新生赛(第一场)
语言
C
递交时间
2023-08-15 19:35:27
评测时间
2023-08-15 19:35:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes