Borderou de evaluare (job #849908)
Utilizator | Data | 7 ianuarie 2013 20:08:44 | |
---|---|---|---|
Problema | Padure | 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:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp: At global scope:
user.cpp:74: error: redefinition of ‘struct MyStruct’
user.cpp:5: error: previous definition of ‘struct MyStruct’
user.cpp:75: error: redefinition of ‘int n’
user.cpp:6: error: ‘int n’ previously declared here
user.cpp:75: error: redefinition of ‘int m’
user.cpp:6: error: ‘int m’ previously declared here
user.cpp:75: error: redefinition of ‘int pas’
user.cpp:6: error: ‘int pas’ previously declared here
user.cpp:75: error: redefinition of ‘int a [1005][1005]’
user.cpp:6: error: ‘int a [1005][1005]’ previously declared here
user.cpp:75: error: redefinition of ‘int d [1005][1005]’
user.cpp:6: error: ‘int d [1005][1005]’ previously declared here
user.cpp:76: error: redefinition of ‘short int dx []’
user.cpp:7: error: ‘short int dx [4]’ previously defined here
user.cpp:77: error: redefinition of ‘short int dy []’
user.cpp:8: error: ‘short int dy [4]’ previously defined here
user.cpp:78: error: redefinition of ‘std::vector<MyStruct, std::allocator<MyStruct> > t’
user.cpp:9: error: ‘std::vector<MyStruct, std::allocator<MyStruct> > t’ previously declared here
user.cpp:78: error: redefinition of ‘std::vector<MyStruct, std::allocator<MyStruct> > tn’
user.cpp:9: error: ‘std::vector<MyStruct, std::allocator<MyStruct> > tn’ previously declared here
user.cpp: In function ‘bool inside(int, int)’:
user.cpp:79: error: redefinition of ‘bool inside(int, int)’
user.cpp:10: error: ‘bool inside(int, int)’ previously defined here
user.cpp: In function ‘bool no_vecini(MyStruct)’:
user.cpp:80: error: redefinition of ‘bool no_vecini(MyStruct)’
user.cpp:11: error: ‘bool no_vecini(MyStruct)’ previously defined here
user.cpp: In function ‘void dance(MyStruct)’:
user.cpp:87: error: redefinition of ‘void dance(MyStruct)’
user.cpp:18: error: ‘void dance(MyStruct)’ previously defined here
user.cpp: In function ‘int main()’:
user.cpp:109: error: redefinition of ‘int main()’
user.cpp:40: error: ‘int main()’ previously defined here
user.cpp:111: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:112: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:114: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:117: warning: ignoring return value of ‘int scanf(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 !