Borderou de evaluare (job #1778197)

Utilizator OlivianOlivian Dan Cretu Olivian Data 13 octombrie 2016 16:49:04
Problema String Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[500008]’ [-Wformat=] scanf("%s",&sir); ^ user.cpp:27:13: warning: unused variable ‘b’ [-Wunused-variable] int b=1; ^ user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("string.in","r",stdin); ^ user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("string.out","w",stdout); ^ user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&sir); ^ user.cpp:54:25: warning: ‘q’ may be used uninitialized in this function [-Wmaybe-uninitialized] int w=(q>>(st-i)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbRaspuns gresit!0
20ms456kbRaspuns gresit!0
30ms448kbRaspuns gresit!0
40ms484kbRaspuns gresit!0
576ms1420kbRaspuns gresit!0
628ms844kbRaspuns gresit!0
752ms1132kbRaspuns gresit!0
876ms1416kbRaspuns gresit!0
920ms1064kbRaspuns gresit!0
1040ms1192kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?