Borderou de evaluare (job #340090)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Re-search (clasele 11-12) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 ian. 2018 10:59:32 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:65:11: error: redefinition of ‘const int Nmax’
user.cpp:3:11: error: ‘const int Nmax’ previously defined here
user.cpp:66:11: error: redefinition of ‘const int Mmax’
user.cpp:4:11: error: ‘const int Mmax’ previously defined here
user.cpp:67:11: error: redefinition of ‘const int Lmax’
user.cpp:5:11: error: ‘const int Lmax’ previously defined here
user.cpp:68:11: error: redefinition of ‘const int SIGMA’
user.cpp:6:11: error: ‘const int SIGMA’ previously defined here
user.cpp:69:11: error: redefinition of ‘const int NIL’
user.cpp:7:11: error: ‘const int NIL’ previously defined here
user.cpp:70:16: error: redefinition of ‘char query [200001]’
user.cpp:8:6: error: ‘char query [200001]’ previously declared here
user.cpp:71:20: error: redefinition of ‘short int solution [200001]’
user.cpp:9:7: error: ‘short int solution [200001]’ previously declared here
user.cpp:72:20: error: redefinition of ‘char str [100][5001]’
user.cpp:10:6: error: ‘char str [100][5001]’ previously declared here
user.cpp:73:5: error: redefinition of ‘int L’
user.cpp:11:5: error: ‘int L’ previously declared here
user.cpp:74:27: error: redefinition of ‘short int position [5001][26]’
user.cpp:12:7: error: ‘short int position [5001][26]’ previously declared here
user.cpp:75:20: error: redefinition of ‘short int aux_pos [26]’
user.cpp:13:7: error: ‘short int aux_pos [26]’ previously declared here
user.cpp:76:17: error: redefinition of ‘short int stiva [5001]’
user.cpp:14:7: error: ‘short int stiva [5001]’ previously declared here
user.cpp:77:5: error: redefinition of ‘int top’
user.cpp:15:5: error: ‘int top’ previously declared here
user.cpp:78:5: error: redefinition of ‘int N’
user.cpp:16:5: error: ‘int N’ previously declared here
user.cpp:78:8: error: redefinition of ‘int M’
user.cpp:16:8: error: ‘int M’ previously declared here
user.cpp: In function ‘void precalculate(char*)’:
user.cpp:79:6: error: redefinition of ‘void precalculate(char*)’
user.cpp:17:6: error: ‘void precalculate(char*)’ previously defined here
user.cpp: In function ‘int main()’:
user.cpp:92:5: error: redefinition of ‘int main()’
user.cpp:30:5: error: ‘int main()’ previously defined here
user.cpp:96:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:98:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:100:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp: In function ‘int main()’:
user.cpp:34:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:36:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:38:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]