Borderou de evaluare (job #2417085)

Utilizator LittleWhoFeraru Mihail LittleWho Data 28 aprilie 2019 20:55:31
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:72:38: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=] printf("%d\n", solve(pows[n] - 1)); ^ main.cpp:42:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sobo.in", "r", stdin); ^ main.cpp:43:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sobo.out", "w", stdout); ^ main.cpp:46:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &l); ^ main.cpp:49:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", sobo); ^ main.cpp:62:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &cost[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCool!10
22ms131kbCool!10
33ms131kbKilled by Signal 110
410ms131kbKilled by Signal 110
54ms131kbKilled by Signal 110
68ms262kbKilled by Signal 110
75ms262kbKilled by Signal 110
89ms262kbKilled by Signal 110
927ms393kbKilled by Signal 110
109ms393kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?