Borderou de evaluare (job #2381005)
Utilizator | Data | 15 martie 2019 20:15:15 | |
---|---|---|---|
Problema | Dist | 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:36:7: error: 'gets' was not declared in this scope
gets(s);
^
main.cpp:70:7: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
s2[p]=NULL;
^~~~
main.cpp:35:5: warning: unused variable 'n' [-Wunused-variable]
int n,l,i=0,j,x,p,ok=0,k,y,minim,nrminim;
^
main.cpp:33:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dist.in","r",stdin);
^
main.cpp:34:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dist.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 !