Problem competition
User Hytoh
Submission Time 2023-08-07 17:45:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

competition.cpp: In function ‘int main()’:
competition.cpp:32:9: error: ‘else’ without a previous ‘if’
32 | else if (phy[i] > 0 && bio[i] == 0 && sumofbio == 0) {
| ^~~~
competition.cpp:49:17: error: ‘sumtask2’ was not declared in this scope; did you mean ‘sumtask1’?
49 | sumtask2 += nigge[x];
| ^~~~~~~~
| sumtask1