Borderou de evaluare (job #2369013)
Utilizator | Data | 5 martie 2019 20:38:13 | |
---|---|---|---|
Problema | Compresie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:34:11: error: 'gets' was not declared in this scope
gets(s);
^
main.cpp:33:21: warning: unused variable 'nr' [-Wunused-variable]
int n=0,i,j,x=0,nr,tait=0,sn;
^~
main.cpp:31:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("compresie.in","r",stdin);
^
main.cpp:32:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("compresie.out","w",stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !