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

Compile Error

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