/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<cstdio> include<cstring> include<algorithm> 
 ^
foo.cpp: In function 'void xxbl(int)':
foo.cpp:9:30: error: 'putchar' was not declared in this scope
 if (a[x] != '0') putchar(a[x]);
                              ^
foo.cpp: In function 'void zxbl(int)':
foo.cpp:16:30: error: 'putchar' was not declared in this scope
 if (a[x] != '0') putchar(a[x]);
                              ^
foo.cpp: In function 'void hxbl(int)':
foo.cpp:23:30: error: 'putchar' was not declared in this scope
 if (a[x] != '0') putchar(a[x]);
                              ^
foo.cpp: In function 'int main()':
foo.cpp:27:18: error: 'scanf' was not declared in this scope
 scanf("%c", &a[1]); i = 2;
                  ^
foo.cpp:28:9: error: 'getchar' was not declared in this scope
 getchar();
         ^

信息

递交者
类型
递交
题目
P1743 YYB吃苹果
语言
C++
递交时间
2015-12-20 16:08:45
评测时间
2015-12-20 16:08:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes