Borderou de evaluare (job #2285810)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 19 noiembrie 2018 12:16:30
Problema Politia Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:38:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("politia.in","r",stdin); ^ main.cpp:39:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("politia.out","w",stdout); ^ main.cpp:40:50: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d %d %d", &s, &i, &m, &r, &co); ^ main.cpp:56:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &x); ^ main.cpp:59:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &y); ^ main.cpp:67:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &x); ^ main.cpp:70:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &y); ^ main.cpp:81:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &x); ^ main.cpp:84:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &y); ^ main.cpp:92:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &x); ^ main.cpp:95:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms524kbOK10
25ms1310kbIncorect0
310ms3407kbIncorect0
415ms3670kbIncorect0
514ms4382kbIncorect0
621ms6029kbIncorect0
7158ms9043kbIncorect0
8154ms9043kbIncorect0
9136ms9043kbIncorect0
10153ms9043kbIncorect0
Punctaj total10

Ceva nu functioneaza?