Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin >> n;
      |         ^~~
/in/foo.cc:9:9: error: 'cout' was not declared in this scope
    9 |         cout << end << endl;
      |         ^~~~
/in/foo.cc:9:24: error: 'endl' was not declared in this scope; did you mean 'end'?
    9 |         cout << end << endl;
      |                        ^~~~
      |                        end
/in/foo.cc:10:9: error: 'system' was not declared in this scope
   10 |         system("pause");
      |         ^~~~~~
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1087 xf1-10多喝饮料
 - 语言
 - C++
 - 递交时间
 - 2025-07-01 11:35:47
 - 评测时间
 - 2025-07-01 11:35:47
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes