Borderou de evaluare (job #1440444)
Utilizator | Data | 23 mai 2015 12:47:37 | |
---|---|---|---|
Problema | Largest Root | Status | done |
Runda | ACM-ICPC Faza Nationala 2015-2016 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘alma darabol(char*, int)’:
user.cpp:93:11: error: ‘strrev’ was not declared in this scope
strrev(st);
^
user.cpp: In function ‘int main()’:
user.cpp:34:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("largestroot.in", "r", stdin);
^
user.cpp:35:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("largestroot.out", "w", stdout);
^
user.cpp:36:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &z);
^
user.cpp:39:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:42:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !