Borderou de evaluare (job #898567)
Utilizator | Data | 28 februarie 2013 10:43:21 | |
---|---|---|---|
Problema | Sate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void read()’:
user.cpp:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp: In function ‘int main()’:
user.cpp:61: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:62: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp: At global scope:
user.cpp:79: error: redefinition of ‘struct elem’
user.cpp:9: error: previous definition of ‘struct elem’
user.cpp:84: error: redefinition of ‘std::vector<elem, std::allocator<elem> > a [30002]’
user.cpp:13: error: ‘std::vector<elem, std::allocator<elem> > a [30002]’ previously declared here
user.cpp:86: error: redefinition of ‘int n’
user.cpp:15: error: ‘int n’ previously declared here
user.cpp:86: error: redefinition of ‘int st’
user.cpp:15: error: ‘int st’ previously declared here
user.cpp:86: error: redefinition of ‘int end’
user.cpp:15: error: ‘int end’ previously declared here
user.cpp:87: error: redefinition of ‘bool viz [30002]’
user.cpp:16: error: ‘bool viz [30002]’ previously declared here
user.cpp: In function ‘void read()’:
user.cpp:89: error: redefinition of ‘void read()’
user.cpp:18: error: ‘void read()’ previously defined here
user.cpp:93: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:98: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:115: error: redefinition of ‘void dfs(int, int)’
user.cpp:44: error: ‘void dfs(int, int)’ previously defined here
user.cpp: In function ‘int main()’:
user.cpp:130: error: redefinition of ‘int main()’
user.cpp:59: error: ‘int main()’ previously defined here
user.cpp:132: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:133: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !