Borderou de evaluare (job #2918772)
Utilizator | Data | 12 august 2022 22:27:02 | |
---|---|---|---|
Problema | Evaluarea unei expresii | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:41: error: conflicting declaration 'std::array<int, 2> l [100001]'
9 | ar<int,2> u[100001],r[100001],d[100001],l[100001];
| ^
main.cpp:8:13: note: previous declaration as 'int l'
8 | int t,n,p,h,l;
| ^
main.cpp: In function 'int main()':
main.cpp:15:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
15 | for(int i=1;i<n;i++)
| ^~~
main.cpp:20:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
20 | cout<<sum1<<' '<<sum2;
| ^~~~
main.cpp:23:13: warning: unused variable 'y' [-Wunused-variable]
23 | int x=1,y=1;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !