Problem | ippt |
---|---|
User | Adflhjk |
Submission Time | 2023-12-02 13:42:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ippt.cpp:3:5: error: cannot declare ‘::main’ to be a global variable
3 | int main {
| ^~~~
ippt.cpp:4:9: error: ‘a’ was not declared in this scope
4 | cin << a << b << c;
| ^
ippt.cpp:4:14: error: ‘b’ was not declared in this scope
4 | cin << a << b << c;
| ^
ippt.cpp:4:19: error: ‘c’ was not declared in this scope
4 | cin << a << b << c;
| ^
ippt.cpp:4:20: error: expected ‘}’ before ‘;’ token
4 | cin << a << b << c;
| ^
ippt.cpp:3:10: note: to match this ‘{’
3 | int main {
| ^
ippt.cpp:8:2: error: expected unqualified-id before ‘if’
8 | if (a+b+c <=60) {
| ^~
ippt.cpp:11:2: error: expected unqualified-id before ‘else’
11 | else if (61<= a + b + c <= 74) {
| ^~~~
ippt.cpp:14:2: er