/ 晓编程 /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:10: error: expected initializer before 'b'
  float a b c d e f g h;
          ^
/in/foo.cc:9:7: error: 'a' was not declared in this scope
  cin>>a;
       ^
/in/foo.cc:10:7: error: 'b' was not declared in this scope
  cin>>b;
       ^
/in/foo.cc:11:7: error: 'c' was not declared in this scope
  cin>>c;
       ^
/in/foo.cc:12:7: error: 'd' was not declared in this scope
  cin>>d;
       ^
/in/foo.cc:13:7: error: 'e' was not declared in this scope
  cin>>e;
       ^
/in/foo.cc:14:7: error: 'f' was not declared in this scope
  cin>>f;
       ^
/in/foo.cc:15:7: error: 'g' was not declared in this scope
  cin>>g;
       ^
/in/foo.cc:16:7: error: 'h' was not declared in this scope
  cin>>h;
       ^
/in/foo.cc:18:1: error: expected ';' before '}' token
 }
 ^
/in/foo.cc:18:1: warning: statement has no effect [-Wunused-value]

信息

递交者
类型
递交
题目
P1018 买制服
语言
C++
递交时间
2020-05-02 11:03:37
评测时间
2020-05-02 11:03:37
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes