/ Vijos /

记录详情

Compile Error

foo.c: In function 'main':
foo.c:4:1: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
 scanf("%d %d",&a,&b);
 ^
foo.c:4:1: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
foo.c:5:5: error: 'i' undeclared (first use in this function)
 for(i=1;i>0;i++)
     ^
foo.c:5:5: note: each undeclared identifier is reported only once for each function it appears in
foo.c:8:1: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration]
 system("pause");
 ^
foo.c:9:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
P1047 最小公倍数
语言
C
递交时间
2016-07-16 19:34:34
评测时间
2016-07-16 19:34:34
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes