Borderou de evaluare (job #2464638)

Utilizator Cojocaru_Andrei_CristianCojocaru Andrei Cristian Cojocaru_Andrei_Cristian Data 28 septembrie 2019 18:18:46
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 '%c' expects argument of type 'int', but argument 2 has type 'const std::__cxx11::basic_string<char>*' [-Wformat=] printf("%c ",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
12ms131kbAfisarea Ingredientelor gresita3
23ms131kbAfisarea Ingredientelor gresita3
32ms131kbAfisarea Ingredientelor gresita3
43ms131kbAfisarea Ingredientelor gresita3
53ms131kbAfisarea Ingredientelor gresita3
63ms131kbAfisarea Ingredientelor gresita3
73ms131kbAfisarea Ingredientelor gresita3
82ms131kbAfisarea Ingredientelor gresita3
96ms131kbAfisarea Ingredientelor gresita3
103ms131kbAfisarea Ingredientelor gresita3
Punctaj total30

Ceva nu functioneaza?