Borderou de evaluare (job #2153659)
Utilizator | Data | 6 martie 2018 13:23:37 | |
---|---|---|---|
Problema | Subsiruri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:82:11: error: redefinition of ‘const int Nmax’
const int Nmax = 202;
^
user.cpp:5:11: note: ‘const int Nmax’ previously defined here
const int Nmax = 202;
^
user.cpp:84:11: error: redefinition of ‘int a [202]’
int a[Nmax];
^
user.cpp:7:5: note: ‘int a [202]’ previously declared here
int a[Nmax];
^
user.cpp:85:13: error: redefinition of ‘int lis [202]’
int lis[Nmax];
^
user.cpp:8:5: note: ‘int lis [202]’ previously declared here
int lis[Nmax];
^
user.cpp:86:12: error: redefinition of ‘int nr [202]’
int nr[Nmax];
^
user.cpp:9:5: note: ‘int nr [202]’ previously declared here
int nr[Nmax];
^
user.cpp:87:5: error: redefinition of ‘int n’
int n, k;
^
user.cpp:10:5: note: ‘int n’ previously declared here
int n, k;
^
user.cpp:87:8: error: redefinition of ‘int k’
int n, k;
^
user.cpp:10:8: note: ‘int k’ previously declared here
int n, k;
^
user.cpp: In function ‘void Read()’:
user.cpp:89:6: error: redefinition of ‘void Read()’
void Read()
^
user.cpp:12:6: note: ‘void Read()’ previously defined here
void Read()
^
user.cpp: In function ‘void Solve()’:
user.cpp:98:6: error: redefinition of ‘void Solve()’
void Solve()
^
user.cpp:21:6: note: ‘void Solve()’ previously defined here
void Solve()
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !