Borderou de evaluare (job #1553765)

Utilizator SoniaFlorinaHorchidan Sonia-Florina SoniaFlorina Data 20 decembrie 2015 14:42:23
Problema Alee Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:29:32: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%hd %hd", &i, &j); ^ user.cpp:29:32: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:23:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd %hd", &n, &m); ^ user.cpp:29:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd %hd", &i, &j); ^ user.cpp:33:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd %hd %hd %hd", &x1, &y1, &x2, &y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK10
20ms460kbOK10
30ms468kbOK10
40ms464kbOK10
50ms480kbOK10
60ms560kbOK10
74ms560kbOK10
80ms616kbOK10
90ms508kbOK10
100ms480kbOK10
Punctaj total100

Ceva nu functioneaza?