Borderou de evaluare (job #2285770)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 19 noiembrie 2018 11:25:03
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
13ms524kbOK10
25ms1310kbIncorect0
310ms3407kbIncorect0
415ms3670kbIncorect0
515ms4325kbIncorect0
621ms6029kbIncorect0
7160ms9175kbIncorect0
8147ms9043kbIncorect0
9159ms9043kbIncorect0
10149ms9043kbIncorect0
Punctaj total10

Ceva nu functioneaza?