Borderou de evaluare (job #1316522)
Utilizator | Data | 13 ianuarie 2015 21:32:09 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:51:10: error: conflicting declaration ‘int P [2000010]’
int P[DIM], S[1010];
^
user.cpp:6:6: error: ‘P’ has a previous declaration as ‘char P [2000003]’
char P[2000003];
^
user.cpp:53:5: error: redefinition of ‘int n’
int n, m, i, q, k;
^
user.cpp:10:5: error: ‘int n’ previously declared here
int n,m;
^
user.cpp:53:8: error: redefinition of ‘int m’
int n, m, i, q, k;
^
user.cpp:10:7: error: ‘int m’ previously declared here
int n,m;
^
user.cpp: In function ‘int main()’:
user.cpp:55:5: error: redefinition of ‘int main()’
int main() {
^
user.cpp:23:5: error: ‘int main()’ previously defined here
int main()
^
user.cpp:58:11: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
fin>>A+1; n = strlen(A+1);
^
user.cpp:59:11: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
fin>>B+1; m = strlen(B+1);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !