Borderou de evaluare (job #2438594)
Utilizator | Data | 12 iulie 2019 21:05:54 | |
---|---|---|---|
Problema | Sum2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:10:29: error: expected ',' or ';' before numeric constant
int n,i,j,U,L,smax=-100 001,v[100 001],sc;
^~~
main.cpp:13:10: error: 'v' was not declared in this scope
fin>>v[i];
^
main.cpp:16:9: error: 'sc' was not declared in this scope
sc=0;
^~
main.cpp:18:19: error: 'v' was not declared in this scope
sc=sc+v[j];
^
main.cpp:23:19: error: 'v' was not declared in this scope
sc=sc+v[j];
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !