Borderou de evaluare (job #917698)
Utilizator | Data | 18 martie 2013 11:38:56 | |
---|---|---|---|
Problema | Copii | 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:48: warning: unused variable ‘j’
user.cpp:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:51: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp: At global scope:
user.cpp:61: error: redefinition of ‘int n’
user.cpp:10: error: ‘int n’ previously declared here
user.cpp: In function ‘int main()’:
user.cpp:64: error: redefinition of ‘int main()’
user.cpp:44: error: ‘int main()’ previously defined here
user.cpp:66: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:67: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:68: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:69: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !