Borderou de evaluare (job #2464639)

Utilizator Cojocaru_Andrei_CristianCojocaru Andrei Cristian Cojocaru_Andrei_Cristian Data 28 septembrie 2019 18:19:24
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:42:31: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'const std::__cxx11::basic_string<char>*' [-Wformat=] printf("%s ",it->first); ^ main.cpp:8:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("reteta2.in","r",stdin); ^ main.cpp:9:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("reteta2.out","w",stdout); ^ main.cpp:20:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^ main.cpp:25:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nr); ^ main.cpp:35:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbAfisarea Ingredientelor gresita3
22ms131kbAfisarea Ingredientelor gresita3
32ms131kbAfisarea Ingredientelor gresita3
42ms131kbAfisarea Ingredientelor gresita3
53ms131kbAfisarea Ingredientelor gresita3
62ms131kbAfisarea Ingredientelor gresita3
72ms131kbAfisarea Ingredientelor gresita3
83ms131kbAfisarea Ingredientelor gresita3
93ms131kbAfisarea Ingredientelor gresita3
102ms131kbAfisarea Ingredientelor gresita3
Punctaj total30

Ceva nu functioneaza?