Borderou de evaluare (job #666726)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Subsecvență circulară de sumă maximă | Compilator | cpp-32 |
Rundă | selectie_cexgj | Status | evaluat |
Dată | 4 oct. 2022 20:07:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:13: error: variable 'std::ifstream fin' has initializer but incomplete type
3 | ifstream fin("scsm.in");
| ^
main.cpp:4:14: error: variable 'std::ofstream fout' has initializer but incomplete type
4 | ofstream fout("scsm.out");
| ^
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)
| ^~~