Problem missingnumber
User Zachareeeee
Submission Time 2024-12-06 14:11:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

missingnumber.cpp: In function ‘int main()’:
missingnumber.cpp:10:25: error: expected ‘}’ at end of input
10 | cout << sum - (1+n)*n/2;
| ^
missingnumber.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^