Compile Error
foo.cpp:40:7: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] main() ^ foo.cpp: In function 'int main()': foo.cpp:48:51: error: 'printf' was not declared in this scope if (ss<=s) printf("Need %.2f miles of cable\n",ss); else cout<<"Impossible"<<endl; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1045 Kerry 的电缆网络
- 语言
- C++
- 递交时间
- 2015-04-25 19:20:06
- 评测时间
- 2015-04-25 19:20:11
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes