/ Vijos /

记录详情

Compile Error

foo.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
 include <stdio.h>
         ^
foo.c: In function 'main':
foo.c:7:1: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
 scanf("%s" , a);
 ^
foo.c:7:1: warning: incompatible implicit declaration of built-in function 'scanf' [enabled by default]
foo.c:7:14: error: 'a' undeclared (first use in this function)
 scanf("%s" , a);
              ^
foo.c:7:14: note: each undeclared identifier is reported only once for each function it appears in
foo.c:21:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
     printf("Right\n");
     ^
foo.c:21:5: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
foo.c:26:5: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
     printf("%s\n" , a);
     ^

信息

递交者
类型
递交
题目
P1484 ISBN号码
语言
C
递交时间
2015-02-02 18:22:54
评测时间
2015-02-02 18:22:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes