Borderou de evaluare (job #2286180)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 19 noiembrie 2018 21:48:54
Problema Rafaela Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:67:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("rafaela.in","r",stdin); ^ main.cpp:68:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("rafaela.out","w",stdout); ^ main.cpp:69:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &n, &q); ^ main.cpp:72:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &x, &y); ^ main.cpp:77:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &a[i]); ^ main.cpp:89:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%c", &c); ^ main.cpp:92:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%c", &c); ^ main.cpp:95:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d\n", &y, &x); ^ main.cpp:108:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
125ms11403kbIncorect0
225ms11403kbIncorect0
328ms11403kbIncorect0
4240ms18481kbIncorect0
5279ms20967kbIncorect0
6372ms24371kbIncorect0
7392ms25157kbIncorect0
8515ms29089kbIncorect0
9582ms29376kbIncorect0
10509ms30400kbIncorect0
Punctaj total0

Ceva nu functioneaza?