Problem | contestcalc |
---|---|
User | burningout |
Submission Time | 2025-03-01 23:02:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
contestcalc.cpp: In function ‘int main()’:
contestcalc.cpp:17:10: error: ‘name’ was not declared in this scope; did you mean ‘tzname’?
17 | cin >> name;
| ^~~~
| tzname
contestcalc.cpp:18:3: error: ‘total’ was not declared in this scope
18 | total += scores[name];
| ^~~~~
contestcalc.cpp:20:10: error: ‘total’ was not declared in this scope
20 | cout << total/C << endl;
| ^~~~~