Borderou de evaluare (job #2268317)

Utilizator bogdi1bogdan bancuta bogdi1 Data 24 octombrie 2018 17:59:12
Problema Blis Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:34:19: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100005]' [-Wformat=] scanf("%s", &s); ^ main.cpp:57:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<update[i].size(); j++){ ~^~~~~~~~~~~~~~~~~ main.cpp:30:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("blis.in", "r",stdin); ^ main.cpp:31:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("blis.out", "w",stdout); ^ main.cpp:33:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ main.cpp:34:20: 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
17ms2490kbTe stii !5
27ms2490kbTe stii !5
37ms2490kbTe stii !5
47ms2621kbTe stii !5
58ms2621kbTe stii !5
68ms2621kbTe stii !5
78ms2621kbTe stii !5
89ms2621kbTe stii !5
97ms2621kbTe stii !5
108ms2621kbTe stii !5
118ms2621kbTe stii !5
128ms2621kbTe stii !5
139ms2723kbTe stii !5
1410ms2752kbTe stii !5
1523ms3276kbTe stii !5
1659ms5242kbTe stii !5
17120ms6815kbTe stii !5
18278ms16252kbTe stii !5
19359ms17432kbTe stii !5
20536ms29229kbTe stii !5
Punctaj total100

Ceva nu functioneaza?