Borderou de evaluare (job #926363)
Utilizator | Data | 25 martie 2013 10:17:01 | |
---|---|---|---|
Problema | Infasuratoare convexa | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:25: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, 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:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp: At global scope:
user.cpp:52: error: redefinition of ‘int stack [120005]’
user.cpp:5: error: ‘int stack [120005]’ previously declared here
user.cpp:52: error: redefinition of ‘int head’
user.cpp:5: error: ‘int head’ previously declared here
user.cpp:53: error: redefinition of ‘struct punct’
user.cpp:6: error: previous definition of ‘struct punct’
user.cpp:56: error: redefinition of ‘punct v [120005]’
user.cpp:9: error: ‘punct v [120005]’ previously declared here
user.cpp:57: error: redefinition of ‘int n’
user.cpp:10: error: ‘int n’ previously declared here
user.cpp: In function ‘void push(int)’:
user.cpp:59: error: redefinition of ‘void push(int)’
user.cpp:12: error: ‘void push(int)’ previously defined here
user.cpp: In function ‘double panta(punct, punct, punct)’:
user.cpp:63: error: redefinition of ‘double panta(punct, punct, punct)’
user.cpp:16: error: ‘double panta(punct, punct, punct)’ previously defined here
user.cpp: In function ‘bool cmp(punct, punct)’:
user.cpp:67: error: redefinition of ‘bool cmp(punct, punct)’
user.cpp:20: error: ‘bool cmp(punct, punct)’ previously defined here
user.cpp: In function ‘int main()’:
user.cpp:71: error: redefinition of ‘int main()’
user.cpp:24: error: ‘int main()’ previously defined here
user.cpp:72: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:73: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:74: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:76: 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 !