/ Vijos /

记录详情

Compile Error

foo.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
 include<stdio.h> 
        ^
foo.c: In function 'main':
foo.c:10:1: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
 scanf("%d%d",&volume,&n);
 ^
foo.c:10:1: warning: incompatible implicit declaration of built-in function 'scanf' [enabled by default]
foo.c:15:1: error: 'valu' undeclared (first use in this function)
 valu[i]=volu[i]*a;
 ^
foo.c:15:1: note: each undeclared identifier is reported only once for each function it appears in
foo.c:21:1: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
 printf("%d\n",f[volume]);
 ^
foo.c:21:1: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
foo.c:23:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
P1317 开心的金明
语言
C
递交时间
2014-07-17 11:46:12
评测时间
2014-07-17 11:46:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes