Compile Error
foo.cc: In function ‘int main()’:
foo.cc:18:9: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
   18 |         cin>>a>>b;
      |         ^~~
      |         std::cin
iostream:62:18: note: ‘std::cin’ declared here
foo.cc:19:15: error: ‘pow’ was not declared in this scope
   19 |         ans=a*pow((1+b),3);
      |               ^~~
  正在同步测试数据,请稍后
信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1018 网店
 - 语言
 - C++
 - 递交时间
 - 2024-05-13 16:38:58
 - 评测时间
 - 2024-05-13 16:38:58
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes