/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<iostream> 
 ^
foo.cpp: In function 'int main()':
foo.cpp:12:38: error: 'scanf' was not declared in this scope
 scanf("%d%d%d%d%d",&k,&x1,&x2,&x3,&x4);
                                      ^
foo.cpp:20:9: error: 'j7' was not declared in this scope
 js=(100-j7)x22;
         ^
foo.cpp:20:12: error: expected ';' before 'x22'
 js=(100-j7)x22;
            ^
foo.cpp:21:12: error: 'm9' was not declared in this scope
 js=js+(100-m9)x3;
            ^
foo.cpp:21:15: error: expected ';' before 'x3'
 js=js+(100-m9)x3;
               ^
foo.cpp:22:14: error: expected ')' before 'x4'
 js=js/((10+n)x4);
              ^
foo.cpp:23:11: error: 'i2' was not declared in this scope
 js=js+(20-i2)x1;
           ^
foo.cpp:23:14: error: expected ';' before 'x1'
 js=js+(20-i2)x1;
              ^
foo.cpp:27:20: error: 'printf' was not declared in this scope
 printf("%0.3lf",max);
                    ^

信息

递交者
类型
递交
题目
P1248 最厉害的机器人
语言
C++
递交时间
2016-07-11 11:00:09
评测时间
2016-07-11 11:00:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes