/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:48:23: error: 'printf' was not declared in this scope
    printf("Case #%d",i);printf(": Both\n");
                       ^
foo.cpp:52:23: error: 'printf' was not declared in this scope
    printf("Case #%d",i);printf(": Heap\n");
                       ^
foo.cpp:57:23: error: 'printf' was not declared in this scope
    printf("Case #%d",i);printf(": BST\n");
                       ^
foo.cpp:60:22: error: 'printf' was not declared in this scope
   printf("Case #%d",i);printf(": Neither\n");
                      ^
foo.cpp: In function 'bool check(int)':
foo.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
foo.cpp: In function 'bool check1(int)':
foo.cpp:38:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
P1897 学姐吃牛排
语言
C++
递交时间
2014-10-31 18:52:44
评测时间
2014-11-01 11:26:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes