/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:20:7: error: 'cin' was not declared in this scope
 while(cin>>n){
       ^~~
/in/foo.cc:23:21: error: 'memset' was not declared in this scope
 memset(s,0,sizeof(s));
                     ^
/in/foo.cc:34:17: error: 'sort' was not declared in this scope
 sort(a,a+t,cmp_s);
                 ^
/in/foo.cc:47:24: error: 'cout' was not declared in this scope
 for(int j=v;j<ts-1;j++)cout<<s[j]<<" ";
                        ^~~~
/in/foo.cc:48:1: error: 'cout' was not declared in this scope
 cout<<endl;
 ^~~~
/in/foo.cc:48:7: error: 'endl' was not declared in this scope
 cout<<endl;
       ^~~~

信息

递交者
类型
递交
题目
P1024 卡布列克圆舞曲
语言
C++
递交时间
2018-08-02 22:16:04
评测时间
2018-08-02 22:16:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes