/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:11:28: error: 'scanf' was not declared in this scope
     scanf("%d%d%d",&c,&m,&n);
                            ^
foo.cpp:14:26: error: 'printf' was not declared in this scope
             printf("%d",0);
                          ^
foo.cpp:25:26: error: 'printf' was not declared in this scope
             printf("%d",0);
                          ^
foo.cpp:34:24: error: 'printf' was not declared in this scope
     printf("%.3f",z/sum);
                        ^

信息

递交者
类型
递交
题目
P1145 小胖吃巧克力
语言
C++
递交时间
2016-09-23 18:39:52
评测时间
2016-09-23 18:39:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes