Problem | contestcalc |
---|---|
User | carson |
Submission Time | 2025-03-22 17:00:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
contestcalc.cpp: In function ‘int main()’:
contestcalc.cpp:14:6: error: redeclaration of ‘int n’
14 | int n;
| ^
contestcalc.cpp:5:6: note: ‘int n’ previously declared here
5 | int n;
| ^
contestcalc.cpp:23:10: error: ‘sum’ was not declared in this scope
23 | cout << sum/n;
| ^~~