Borderou de evaluare (job #1443338)

Utilizator mouse_wirelessMouse Wireless mouse_wireless Data 27 mai 2015 18:53:44
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:21: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘uchar* {aka unsigned char*}’ [-Wformat=] scanf("%u", &v1[i]); ^ user.cpp:32:21: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘uchar* {aka unsigned char*}’ [-Wformat=] scanf("%u", &v2[j]); ^ user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:30:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u", &v1[i]); ^ user.cpp:32:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u", &v2[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms312kbRaspuns corect!10
20ms364kbRaspuns corect!10
30ms392kbLungime incorecta!0
40ms1496kbLungime incorecta!0
50ms1840kbLungime incorecta!0
64ms3408kbLungime incorecta!0
712ms6324kbLungime incorecta!0
812ms5796kbLungime incorecta!0
912ms6364kbLungime incorecta!0
1012ms5200kbLungime incorecta!0
Punctaj total20

Ceva nu functioneaza?