Borderou de evaluare (job #2555273)
Utilizator | Data | 23 februarie 2020 20:46:48 | |
---|---|---|---|
Problema | Diez | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int queryAIB(int)':
main.cpp:74:7: warning: unused variable 'ans' [-Wunused-variable]
int ans, i, step;
^~~
main.cpp: In function 'int main()':
main.cpp:92:10: error: 'gets' was not declared in this scope
gets (s);
^
main.cpp:88:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("diez.in", "r", stdin);
^
main.cpp:89:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("diez.out", "w", stdout);
^
main.cpp:91:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d\n", &n, &m);
^
main.cpp:94:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &O [i].type);
^
main.cpp:96:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%c%c\n", &O [i].p, &blank, &O [i].ch);
^
main.cpp:100:57: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d\n", &O [i].q1, &O [i].q2, &O [i].p);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !