/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<iostream>
 ^
foo.cpp: In function 'int main()':
foo.cpp:14:2: error: 'string' was not declared in this scope
  string s;
  ^
foo.cpp:14:9: error: expected ';' before 's'
  string s;
         ^
foo.cpp:15:2: error: 'cin' was not declared in this scope
  cin>>n>>s;
  ^
foo.cpp:15:10: error: 's' was not declared in this scope
  cin>>n>>s;
          ^
foo.cpp:21:3: error: 'cout' was not declared in this scope
   cout<<"STEP=0";
   ^
foo.cpp:40:4: error: 'cout' was not declared in this scope
    cout<<"STEP="<<c;
    ^
foo.cpp:44:2: error: 'cout' was not declared in this scope
  cout<<"Impossible!"<<endl;
  ^
foo.cpp:44:23: error: 'endl' was not declared in this scope
  cout<<"Impossible!"<<endl;
                       ^

信息

递交者
类型
递交
题目
P1304 回文数
语言
C++
递交时间
2016-12-26 16:09:57
评测时间
2016-12-26 16:09:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes