Borderou de evaluare (job #1778199)

Utilizator OlivianOlivian Dan Cretu Olivian Data 13 octombrie 2016 16:50:53
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 (*)[1000008]’ [-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
10ms456kbRaspuns gresit!0
20ms452kbRaspuns gresit!0
30ms456kbRaspuns gresit!0
40ms488kbRaspuns gresit!0
576ms1428kbRaspuns gresit!0
628ms840kbRaspuns gresit!0
752ms1136kbRaspuns gresit!0
876ms1424kbRaspuns gresit!0
920ms1092kbRaspuns gresit!0
1040ms1220kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?