Compile Error

/in/foo.cc:24:40: warning: multi-character character constant [-Wmultichar]
                 std::cout <<quotient <<'...'<< remainder << std::endl;
                                        ^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:25: error: expected primary-expression before '<<' token
             std::cout <<<< a * b << std::endl;
                         ^~
/in/foo.cc:27:13: error: break statement not within loop or switch
             break;
             ^~~~~
/in/foo.cc:28:9: error: case label not within a switch statement
         default:
         ^~~~~~~
/in/foo.cc:30:13: error: break statement not within loop or switch
             break;
             ^~~~~
/in/foo.cc: At global scope:
/in/foo.cc:33:5: error: expected unqualified-id before 'return'
     return 0;
     ^~~~~~
/in/foo.cc:34:1: error: expected declaration before '}' token
 }
 ^

信息

递交者
类型
递交
题目
P1720 简单计算器
语言
C++
递交时间
2024-05-31 21:17:50
评测时间
2024-05-31 21:17:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes