Borderou de evaluare (job #2355299)
Utilizator | Data | 25 februarie 2019 22:47:42 | |
---|---|---|---|
Problema | Path2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void gen2(int, int, int)':
main.cpp:23:28: error: 'exit' was not declared in this scope
if (con == ct) exit(0);
^
main.cpp: In function 'int main()':
main.cpp:79:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN,"r",stdin);
^
main.cpp:80:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(FOUT,"w",stdout);
^
main.cpp:82:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&N,&M,&I,&J);
^
main.cpp:85:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !