记录详情

Compile Error

foo.cc: In function 'bool ishuiwen(int)':
foo.cc:7:3: error: 'string' was not declared in this scope
   string str = to_string(x);
   ^~~~~~
foo.cc:7:3: note: suggested alternative: 'struct'
   string str = to_string(x);
   ^~~~~~
   struct
foo.cc:8:32: error: 'str' was not declared in this scope
   for (unsigned int i = 0; i < str.size()/2; i++)
                                ^~~
foo.cc: In function 'Listnode* Insert(int*, int)':
foo.cc:27:16: error: 'NULL' was not declared in this scope
     Listnode*t=NULL;
                ^~~~
foo.cc: In function 'int main()':
foo.cc:60:5: error: 'cin' was not declared in this scope
     cin>>n;
     ^~~
foo.cc:60:5: note: suggested alternative: 'main'
     cin>>n;
     ^~~
     main
foo.cc:66:9: error: 'cout' was not declared in this scope
         cout<< h->val <<" ";
         ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
比赛
周末测试
语言
C++
递交时间
2021-11-07 11:00:00
评测时间
2021-11-07 11:01:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes