记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:9:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
  scanf("%d",&n);
  ^~~~~
/in/foo.c:9:2: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:9:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:10:7: error: 'i' undeclared (first use in this function)
  for (i=0;i<26;i++)
       ^
/in/foo.c:10:7: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c: In function 'perm':
/in/foo.c:57:13: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
             printf("%c", list[i]);      
             ^~~~~~
/in/foo.c:57:13: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:57:13: note: include '<stdio.h>' or provide a declaration of 'printf'
/in/foo.c:58:9: warning: incompatible implicit declaration of built-in function 'printf'
         printf("\n");
         ^~~~~~
/in/foo.c:58:9: note: include '<stdio.h>' or provide a declaration of 'printf'

信息

递交者
类型
递交
题目
(lpj 1-4)Best name
比赛
新年 小兰赛2019-1-1
语言
C
递交时间
2019-01-01 10:34:54
评测时间
2019-01-01 10:34:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes