记录详情

Compile Error

/in/foo.cc:1:1: error: 'include' does not name a type
 include<iostream>
 ^~~~~~~
/in/foo.cc: In member function 'bool LinkStack::isEmpty()':
/in/foo.cc:22:15: error: 'NULL' was not declared in this scope
   return top==NULL;
               ^~~~
/in/foo.cc: In constructor 'LinkStack::LinkStack()':
/in/foo.cc:42:7: error: 'NULL' was not declared in this scope
   top=NULL;
       ^~~~
/in/foo.cc: In function 'void Match(char*)':
/in/foo.cc:63:4: error: 'cout' was not declared in this scope
    cout<<"right "<<j<<" ";
    ^~~~
/in/foo.cc:65:3: error: 'cout' was not declared in this scope
   cout<<"ok"<<endl;
   ^~~~
/in/foo.cc:65:15: error: 'endl' was not declared in this scope
   cout<<"ok"<<endl;
               ^~~~
/in/foo.cc:68:3: error: 'cout' was not declared in this scope
   cout<<"left ";
   ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:76:2: error: 'cin' was not declared in this scope
  cin>>s;
  ^~~

信息

递交者
类型
递交
语言
C++
递交时间
2019-12-02 13:19:03
评测时间
2019-12-02 13:19:03
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes