记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:6:2: error: 'cin' was not declared in this scope
  cin.getline(a,100);
  ^~~
foo.cc:6:2: note: suggested alternative: 'main'
  cin.getline(a,100);
  ^~~
  main
foo.cc:7:18: error: 'strlen' was not declared in this scope
  for (int i=0;i<=strlen(a);i++)
                  ^~~~~~
foo.cc:7:18: note: suggested alternative: 'struct'
  for (int i=0;i<=strlen(a);i++)
                  ^~~~~~
                  struct
foo.cc:14:2: error: 'cout' was not declared in this scope
  cout<<b;
  ^~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
P1008 JB的制造方式-第七步
语言
C++
递交时间
2021-04-09 13:52:20
评测时间
2021-04-09 13:52:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes