Compile Error
foo.cpp:1:1: error: 'include' does not name a type include <iostream> ^ foo.cpp:6:23: error: 'sqrt' was not declared in this scope const double v=(sqrt(5)-1.0)/2.0; ^ foo.cpp: In function 'int main()': foo.cpp:9:12: error: 'cin' was not declared in this scope while(cin>>n){ ^ foo.cpp:10:6: error: 'cout' was not declared in this scope cout<<(long long)(v*(n+1))<<endl; ^ foo.cpp:10:34: error: 'endl' was not declared in this scope cout<<(long long)(v*(n+1))<<endl; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1178 圆环套圆环
- 语言
- C++
- 递交时间
- 2015-04-27 14:04:23
- 评测时间
- 2015-04-27 14:04:24
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes