/ OPS /

记录详情

Compile Error

/in/foo.cc:7:12: error: variable or field 'zhuan' declared void
 void zhuan(string s,int a[]){
            ^
/in/foo.cc:7:12: error: 'string' was not declared in this scope
/in/foo.cc:7:21: error: expected primary-expression before 'int'
 void zhuan(string s,int a[]){
                     ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:32:5: error: 'string' was not declared in this scope
     string s;
     ^
/in/foo.cc:33:5: error: 'cin' was not declared in this scope
     cin>>r>>s;
     ^
/in/foo.cc:33:13: error: 's' was not declared in this scope
     cin>>r>>s;
             ^
/in/foo.cc:34:14: error: 'zhuan' was not declared in this scope
     zhuan(s,a);
              ^
/in/foo.cc:39:17: error: 'cout' was not declared in this scope
     if (cnt<30) cout<<"STEP="<<cnt<<endl;
                 ^
/in/foo.cc:39:37: error: 'endl' was not declared in this scope
     if (cnt<30) cout<<"STEP="<<cnt<<endl;
                                     ^
/in/foo.cc:40:10: error: 'cout' was not declared in this scope
     else cout<<"Impossible!"<<endl;
          ^
/in/foo.cc:40:31: error: 'endl' was not declared in this scope
     else cout<<"Impossible!"<<endl;
                               ^

信息

递交者
类型
递交
语言
C++
递交时间
2020-08-13 16:02:33
评测时间
2020-08-13 16:02:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes