Problem competition
User penguin1234
Submission Time 2024-07-17 13:44:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

competition.cpp: In function ‘int main()’:
competition.cpp:25:35: error: expected ‘]’ at end of input
25 | totalScore += B[biologyIndex
| ~~~~~~~~~~~~^
| ]
competition.cpp:25:35: error: expected ‘;’ at end of input
25 | totalScore += B[biologyIndex
| ~~~~~~~~~~~~^
| ;
competition.cpp:25:23: error: expected ‘}’ at end of input
25 | totalScore += B[biologyIndex
| ^~~~~~~~~~~~
competition.cpp:24:12: note: to match this ‘{’
24 | } else {
| ^
competition.cpp:25:23: error: expected ‘}’ at end of input
25 | totalScore += B[biologyIndex
| ^~~~~~~~~~~~
competition.cpp:19:31: note: to match this ‘{’
19 | for (int i = 0; i < n; i++) {
| ^
compe