Borderou de evaluare (job #2338761)
Utilizator | cosceex cosceex | Data | 7 februarie 2019 19:53:14 |
---|---|---|---|
Problema | Bool | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int cauta(int&, int, int)':
main.cpp:22:24: warning: operation on 'kk' may be undefined [-Wsequence-point]
v2[++kk]=cauta(i,x,kk-1);
^~~~
main.cpp: In function 'int main()':
main.cpp:60:13: error: 'gets' was not declared in this scope
gets(sir);
^
main.cpp:59:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.in","r",stdin);
^
main.cpp:61:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%s",&n,sir2);
^
main.cpp:63:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.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 !