Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:9: error: 'cin' was not declared in this scope
  while (cin.get(a))
         ^
/in/foo.cc:9:16: error: 'cout' was not declared in this scope
   if (a == '0')cout << '1';
                ^
/in/foo.cc:10:16: error: 'cout' was not declared in this scope
   if (a == '1')cout << '0';
                ^
/in/foo.cc:11:17: error: 'cout' was not declared in this scope
   if (a == '\n')cout << endl;
                 ^
/in/foo.cc:11:25: error: 'endl' was not declared in this scope
   if (a == '\n')cout << endl;
                         ^
  信息
- 递交者
- 类型
- 递交
- 题目
- P1011 逆反的01串
- 语言
- C++
- 递交时间
- 2023-03-04 16:13:56
- 评测时间
- 2023-03-04 16:13:56
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes