Borderou de evaluare (job #797901)
Utilizator | Data | 15 octombrie 2012 09:53:03 | |
---|---|---|---|
Problema | Perle | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘short int c(int)’:
user.cpp:16: error: new declaration ‘short int c(int)’
user.cpp:5: error: ambiguates old declaration ‘int c(int)’
user.cpp: In function ‘int main()’:
user.cpp:39: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘short int*’
user.cpp:41: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘char*’
user.cpp:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:41: 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 !