Borderou de evaluare (job #2519163)
Utilizator | Data | 7 ianuarie 2020 13:01:47 | |
---|---|---|---|
Problema | Livada | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:59: error: redefinition of 'long long int c'
long long m,l,cnt,y,maxi,lmax1,x,lmax,n,p,c,v[700001],i,j,c,nr;
^
main.cpp:6:43: note: 'long long int c' previously declared here
long long m,l,cnt,y,maxi,lmax1,x,lmax,n,p,c,v[700001],i,j,c,nr;
^
main.cpp: In function 'int main()':
main.cpp:24:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(lmax<l)
^~
main.cpp:26:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
y=x;
^
main.cpp:34:13: error: expected ';' before '}' token
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !