/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:12:49: error: 'scanf' was not declared in this scope
     scanf("%lf%lf%lf%lf%d",&box,&c,&dic,&p[0],&N);
                                                 ^
foo.cpp:33:35: error: 'printf' was not declared in this scope
             printf("No solution\n");
                                   ^
foo.cpp:34:19: error: 'exit' was not declared in this scope
             exit(0);
                   ^
foo.cpp:53:27: error: 'printf' was not declared in this scope
     printf("%0.2lf\n",cost);
                           ^

信息

递交者
类型
递交
题目
P1253 旅行家的预算
语言
C++
递交时间
2016-01-06 10:19:51
评测时间
2016-01-06 10:19:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes