Compile Error
foo.cpp: In function 'int main()':
foo.cpp:7:34: error: 'time' was not declared in this scope
scanf("%d%d%d",&point,&dist,&time);
^
foo.cpp:7:38: error: 'scanf' was not declared in this scope
scanf("%d%d%d",&point,&dist,&time);
^
foo.cpp:35:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (f=0) cout<<"No"<<endl;
^
foo.cpp:36:19: error: 'system' was not declared in this scope
system("pause");
^
信息
- 递交者
- 类型
- 递交
- 题目
- P1431 守望者的逃离
- 语言
- C++
- 递交时间
- 2014-12-05 13:26:40
- 评测时间
- 2014-12-05 13:26:41
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes