Borderou de evaluare (job #666728)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Subsecvență circulară de sumă maximă | Compilator | cpp-32 |
Rundă | selectie_cexgj | Status | evaluat |
Dată | 4 oct. 2022 20:08:07 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:12: error: 'sum' was not declared in this scope
13 | if(sum<0) sum=a[i];
| ^~~
main.cpp:15:12: error: 'sum' was not declared in this scope
15 | if(sum>maxx)
| ^~~