Borderou de evaluare (job #1543561)
Utilizator | Data | 6 decembrie 2015 11:15:19 | |
---|---|---|---|
Problema | Subsir Binar | Status | done |
Runda | Algoritmiada 2016 - Runda 1, Juniori | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void transf(int)’:
user.cpp:17:19: error: ‘strrev’ was not declared in this scope
strrev(t);
^
user.cpp:9:10: warning: unused variable ‘aux’ [-Wunused-variable]
l=0;char aux;
^
user.cpp: In function ‘void elim()’:
user.cpp:27:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k==strlen(b)) {poz+=strlen(t)-strlen(p);gata=1;break;}
^
user.cpp: In function ‘int main()’:
user.cpp:33:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subbit.in","r",stdin);
^
user.cpp:34:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subbit.out","w",stdout);
^
user.cpp:35:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !