Borderou de evaluare (job #2267145)

Utilizator DordeDorde Matei Dorde Data 23 octombrie 2018 12:32:40
Problema Barbar Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:67:29: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf ("%d %d" , &n , &m); ^ main.cpp:67:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] main.cpp:69:25: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1001]' [-Wformat=] scanf ("%s" , &s); ^ main.cpp:66:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("barbar.in" , "r" , stdin); ^ main.cpp:67:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d" , &n , &m); ^ main.cpp:69:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%s" , &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbWrong answer!0
23ms131kbWrong answer!0
33ms131kbWrong answer!0
43ms131kbWrong answer!0
53ms131kbWrong answer!0
63ms131kbWrong answer!0
73ms131kbWrong answer!0
83ms131kbWrong answer!0
93ms131kbWrong answer!0
103ms131kbOk!10
Punctaj total10

Ceva nu functioneaza?