/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int search(int)':
foo.cpp:27:5: warning: no return statement in function returning non-void [-Wreturn-type]
     }
     ^
foo.cpp: In function 'int main()':
foo.cpp:30:29: error: 'stdin' was not declared in this scope
     freopen("prison.in","r",stdin);
                             ^
foo.cpp:30:34: error: 'freopen' was not declared in this scope
     freopen("prison.in","r",stdin);
                                  ^
foo.cpp:31:30: error: 'stdout' was not declared in this scope
     freopen("prison.out","w",stdout);
                              ^
foo.cpp:32:28: error: 'memset' was not declared in this scope
     memset(a,true,sizeof(a));
                            ^

信息

递交者
类型
递交
题目
P1776 关押罪犯
语言
C++
递交时间
2014-09-26 20:09:27
评测时间
2014-09-26 20:09:28
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes