Problem | missingnumber |
---|---|
User | newperson |
Submission Time | 2024-10-09 16:08:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
missingnumber.cpp: In function ‘int main()’:
missingnumber.cpp:15:16: error: expected ‘;’ before ‘}’ token
15 | total += temp
| ^
| ;
16 | }
| ~
missingnumber.cpp:18:15: error: ‘N’ cannot be used as a function
18 | total = N(N+1)/2 - total;
| ^