Problem | contestcalc |
---|---|
User | gohchingjayk |
Submission Time | 2024-05-13 13:45:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
contestcalc.cpp: In function ‘int main()’:
contestcalc.cpp:8:12: error: ‘N’ was not declared in this scope
8 | cin >> N;
| ^
contestcalc.cpp:12:16: error: ‘names’ was not declared in this scope
12 | cin >> names[i] >> scores[i];
| ^~~~~
contestcalc.cpp:12:28: error: ‘scores’ was not declared in this scope
12 | cin >> names[i] >> scores[i];
| ^~~~~~
contestcalc.cpp:22:17: error: ‘names’ was not declared in this scope
22 | if (names[j] == contestant)
| ^~~~~