/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<iostream> include<cstdlib> include<cstdio> include<algorithm>
 ^
foo.cpp: In function 'int main()':
foo.cpp:23:1: error: 'cin' was not declared in this scope
 cin>>apple>>tt;
 ^
foo.cpp:28:28: error: 'sort' was not declared in this scope
 sort(tt2+1,tt2+tt+1,compare);
                            ^
foo.cpp:32:1: error: 'cout' was not declared in this scope
 cout<<tt-tt3<<endl;
 ^
foo.cpp:32:15: error: 'endl' was not declared in this scope
 cout<<tt-tt3<<endl;
               ^
foo.cpp: In function 'int ser(int)':
foo.cpp:15:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
P1291 苹果摘陶陶
语言
C++
递交时间
2015-05-23 17:16:53
评测时间
2015-05-23 17:16:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes