Borderou de evaluare (job #1555081)

Utilizator iuliaotilia26Mustea Iulia-Otilia iuliaotilia26 Data 22 decembrie 2015 11:34:06
Problema Alee Status done
Runda Teme Pregatire ACM Unibuc 2013 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
10ms452kbOK10
20ms460kbOK10
30ms472kbOK10
40ms460kbOK10
50ms476kbOK10
60ms556kbOK10
74ms560kbOK10
80ms616kbOK10
90ms512kbOK10
100ms480kbOK10
Punctaj total100

Ceva nu functioneaza?