Compile Error
foo.cpp: In function 'int main()':
foo.cpp:32:29: error: 'stdin' was not declared in this scope
freopen("input.txt","r",stdin);
^
foo.cpp:32:34: error: 'freopen' was not declared in this scope
freopen("input.txt","r",stdin);
^
foo.cpp:33:30: error: 'stdout' was not declared in this scope
freopen("output.txt","w",stdout);
^
foo.cpp:35:21: error: 'scanf' was not declared in this scope
scanf("%d",&s[0]);
^
foo.cpp:42:31: error: 'printf' was not declared in this scope
printf("%.5lf\n",maxarea/2);
^
信息
- 递交者
- 类型
- 递交
- 题目
- P1241 永别了,网络游戏
- 语言
- C++
- 递交时间
- 2016-07-15 13:45:24
- 评测时间
- 2016-07-15 13:45:25
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes