记录详情

Compile Error

foo.c: In function 'FindiMax':
foo.c:5:15: error: 'isn' undeclared (first use in this function)
    5 |  for(int i=1; isn; it+)
      |               ^~~
foo.c:5:15: note: each undeclared identifier is reported only once for each function it appears in
foo.c:5:20: error: 'it' undeclared (first use in this function); did you mean 'i'?
    5 |  for(int i=1; isn; it+)
      |                    ^~
      |                    i
foo.c:5:23: error: expected expression before ')' token
    5 |  for(int i=1; isn; it+)
      |                       ^
foo.c: At top level:
foo.c:11:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
   11 | {
      | ^
foo.c:15:15: error: stray '\342' in program
   15 |  for(int i=0;i‹n;i++)
      |               ^
foo.c:15:16: error: stray '\200' in program
   15 |  for(int i=0;i‹n;i++)
      |                ^
foo.c:15:17: error: stray '\271' in program
   15 |  for(int i=0;i‹n;i++)
      |                 ^
foo.c:16:13: error: stray '\342' in program
   16 |   scanf("%d"‚&a[i]);
      |             ^
foo.c:16:14: error: stray '\200' in program
   16 |   scanf("%d"‚&a[i]);
      |              ^
foo.c:16:15: error: stray '\232' in program
   16 |   scanf("%d"‚&a[i]);
      |               ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
A7-2 数组的极值函数
语言
C
递交时间
2022-03-23 19:43:18
评测时间
2022-03-23 19:43:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes