编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#3572 | #1006. 超级强迫症 | Compile Error | 0 | 0 ms | 0 K | C / 279 B | hbut_czf | 2023-11-25 15:47:40 |
int
编译信息
/sandbox/1/a.c:1:9: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
#include <stdio.h>
^
/sandbox/1/a.c:2:4: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
int main ()
^
/sandbox/1/a.c:2:10: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
int main ()
^
/sandbox/1/a.c:3:5: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
{int n,i;
^
/sandbox/1/a.c:3:8: warning: treating Unicode character <U+FF0C> as identifier character rather than as ',' symbol [-Wunicode-homoglyph]
{int n,i;
^~
/sandbox/1/a.c:4:11: warning: treating Unicode character <U+FF0C> as identifier character rather than as ',' symbol [-Wunicode-homoglyph]
scanf("%d",&n);
^~
/sandbox/1/a.c:4:11: error: expected ')'
/sandbox/1/a.c:4:6: note: to match this '('
scanf("%d",&n);
^
/sandbox/1/a.c:5:5: error: use of undeclared identifier 'i'
for(i=0;i<n;i++)
^
/sandbox/1/a.c:5:9: error: use of undeclared identifier 'i'
for(i=0;i<n;i++)
^
/sandbox/1/a.c:5:11: error: use of undeclared identifier 'n'
for(i=0;i<n;i++)
^
/sandbox/1/a.c:5:13: error: use of undeclared identifier 'i'
for(i=0;i<n;i++)
^
/sandbox/1/a.c:6:1: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
{scanf("%d",&a[i]);
^
/sandbox/1/a.c:6:3: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
{scanf("%d",&a[i]);
^
/sandbox/1/a.c:6:5: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
{scanf("%d",&a[i]);
^
/sandbox/1/a.c:6:20: error: use of undeclared identifier 'a'
{scanf("%d",&a[i]);
^
/sandbox/1/a.c:6:22: error: use of undeclared identifier 'i'
{scanf("%d",&a[i]);
^
/sandbox/1/a.c:7:1: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
}
^
/sandbox/1/a.c:7:3: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
}
^
/sandbox/1/a.c:7:5: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
}
^
/sandbox/1/a.c:8:7: error: use of undeclared identifier 'n'
int a[n];
^
/sandbox/1/a.c:9:4: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
int equal=1;
^
/sandbox/1/a.c:10:5: error: use of undeclared identifier 'i'
for(i=1;i<n;i++)
^
/sandbox/1/a.c:10:9: error: use of undeclared identifier 'i'
for(i=1;i<n;i++)
^
/sandbox/1/a.c:10:11: error: use of undeclared identifier 'n'
for(i=1;i<n;i++)
^
/sandbox/1/a.c:10:13: error: use of undeclared identifier 'i'
for(i=1;i<n;i++)
^
/sandbox/1/a.c:11:7: error: use of undeclared identifier 'i'
{if(a[i]!=a[0])
^
/sandbox/1/a.c:12:1: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
{equal=0;
^
/sandbox/1/a.c:12:3: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
{equal=0;
^
/sandbox/1/a.c:13:1: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
break;}
^
/sandbox/1/a.c:13:3: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
break;}
^
17 warnings and 13 errors generated.