Borderou de evaluare (job #785621)
Utilizator | Data | 9 septembrie 2012 14:22:19 | |
---|---|---|---|
Problema | Regiuni | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
user.cpp:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
user.cpp:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
user.cpp: At global scope:
user.cpp:48: error: redefinition of ‘const int Hsize’
user.cpp:7: error: ‘const int Hsize’ previously defined here
user.cpp:49: error: redefinition of ‘const int Hsexion’
user.cpp:8: error: ‘const int Hsexion’ previously defined here
user.cpp:50: error: duplicate ‘const’
user.cpp:52: error: redefinition of ‘const int Nmax’
user.cpp:9: error: ‘const int Nmax’ previously defined here
user.cpp:54: error: conflicting declaration ‘short int a [1010]’
user.cpp:11: error: ‘a’ has a previous declaration as ‘int a [1010]’
user.cpp:54: error: conflicting declaration ‘short int b [1010]’
user.cpp:11: error: ‘b’ has a previous declaration as ‘int b [1010]’
user.cpp:54: error: conflicting declaration ‘short int c [1010]’
user.cpp:11: error: ‘c’ has a previous declaration as ‘int c [1010]’
user.cpp:55: error: conflicting declaration ‘std::pair<short int, short int> Hash [1010]’
user.cpp:12: error: ‘Hash’ has a previous declaration as ‘int Hash [1010]’
user.cpp:57: error: redefinition of ‘int N’
user.cpp:14: error: ‘int N’ previously declared here
user.cpp:57: error: redefinition of ‘int M’
user.cpp:14: error: ‘int M’ previously declared here
user.cpp:57: error: redefinition of ‘int A’
user.cpp:14: error: ‘int A’ previously declared here
user.cpp:57: error: redefinition of ‘int B’
user.cpp:14: error: ‘int B’ previously declared here
user.cpp:57: error: redefinition of ‘int Sol’
user.cpp:14: error: ‘int Sol’ previously declared here
user.cpp: In function ‘int main()’:
user.cpp:59: error: redefinition of ‘int main()’
user.cpp:16: error: ‘int main()’ previously defined here
user.cpp:75: error: ‘Hsexion2’ was not declared in this scope
user.cpp:77: error: cannot convert ‘std::pair<short int, short int>’ to ‘int’ in assignment
user.cpp:63: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
user.cpp:65: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
user.cpp:70: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !