Borderou de evaluare (job #1996797)
Utilizator | Data | 2 iulie 2017 16:44:50 | |
---|---|---|---|
Problema | Cifra | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void scadere_1(char*)’:
user.cpp:75:13: error: ‘strrev’ was not declared in this scope
strrev(a);
^
user.cpp:86:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(a[0]==NULL)
^
user.cpp: In function ‘int main()’:
user.cpp:94:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifra.in","r",stdin);
^
user.cpp:95:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifra.out","w",stdout);
^
user.cpp:97:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:98:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&x);
^
user.cpp:100:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !