/ 程序猿 /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:4: warning: left operand of comma operator has no effect [-Wunused-value]
   A>=0,A<=100;
   ~^~~
/in/foo.cc:6:9: warning: right operand of comma operator has no effect [-Wunused-value]
   A>=0,A<=100;
        ~^~~~~
/in/foo.cc:7:11: error: expected primary-expression before ')' token
   cin (20%)*/A;
           ^
/in/foo.cc:7:13: error: expected primary-expression before '/' token
   cin (20%)*/A;
             ^
/in/foo.cc:8:4: warning: left operand of comma operator has no effect [-Wunused-value]
   B>=0,B<=100;
   ~^~~
/in/foo.cc:8:9: warning: right operand of comma operator has no effect [-Wunused-value]
   B>=0,B<=100;
        ~^~~~~
/in/foo.cc:9:11: error: expected primary-expression before ')' token
   cin (30%)*/B;
           ^
/in/foo.cc:9:13: error: expected primary-expression before '/' token
   cin (30%)*/B;
             ^
/in/foo.cc:10:4: warning: left operand of comma operator has no effect [-Wunused-value]
   C>=0,C<=100;
   ~^~~
/in/foo.cc:10:9: warning: right operand of comma operator has no effect [-Wunused-value]
   C>=0,C<=100;
        ~^~~~~
/in/foo.cc:11:11: error: expected primary-expression before ')' token
   cin (50%)*/C;
           ^
/in/foo.cc:11:13: error: expected primary-expression before '/' token
   cin (50%)*/C;
             ^
/in/foo.cc:12:8: error: expected ';' before 'A'
   cout A<<" "<<B<<" "<<C<<" ";
        ^
/in/foo.cc:12:30: warning: statement has no effect [-Wunused-value]
   cout A<<" "<<B<<" "<<C<<" ";
                              ^

信息

递交者
类型
递交
题目
成绩
语言
C++
递交时间
2018-10-28 16:55:30
评测时间
2018-10-28 16:55:30
评测机
分数
0
总耗时
235ms
峰值内存
29.312 MiB