/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:30:15: error: 'scanf' was not declared in this scope
  scanf("%f",&s);
               ^
foo.cpp:46:32: error: 'printf' was not declared in this scope
  if(ans>s)printf("impossible/n");
                                ^
foo.cpp:47:44: error: 'printf' was not declared in this scope
  else printf("Need %.2f miles of cable",ans);
                                            ^

信息

递交者
类型
递交
题目
P1045 Kerry 的电缆网络
语言
C++
递交时间
2016-05-22 19:44:17
评测时间
2016-05-22 19:44:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes