Borderou de evaluare (job #1555080)

Utilizator iuliaotilia26Mustea Iulia-Otilia iuliaotilia26 Data 22 decembrie 2015 11:33:47
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:24:32: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%hd %hd", &j, &k); ^ user.cpp:24:32: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:18: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:24:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd %hd", &j, &k); ^ user.cpp:27:45: 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
20ms456kbOK10
30ms464kbOK10
40ms468kbOK10
50ms480kbOK10
60ms556kbOK10
74ms564kbOK10
80ms612kbOK10
90ms512kbOK10
100ms480kbOK10
Punctaj total100

Ceva nu functioneaza?