记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:5:5: error: 'intx' was not declared in this scope
     intx,y,z;
     ^~~~
foo.cc:5:5: note: suggested alternative: 'int'
     intx,y,z;
     ^~~~
     int
foo.cc:5:10: error: 'y' was not declared in this scope
     intx,y,z;
          ^
foo.cc:5:12: error: 'z' was not declared in this scope
     intx,y,z;
            ^
foo.cc:6:5: error: 'fioat' was not declared in this scope
     fioat a; 
     ^~~~~
foo.cc:6:5: note: suggested alternative: 'float'
     fioat a; 
     ^~~~~
     float
foo.cc:7:10: error: 'x' was not declared in this scope
     cin>>x>>y>>z;
          ^
foo.cc:8:5: error: 'a' was not declared in this scope
     a=120*(x+y*0.5+z*0.6);
     ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
p1006 求门票的总价
语言
C++
递交时间
2021-10-29 19:01:14
评测时间
2021-10-29 19:01:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes