Borderou de evaluare (job #2417105)

Utilizator LittleWhoFeraru Mihail LittleWho Data 28 aprilie 2019 21:14:24
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

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
33ms131kbCool!10
411ms131kbCool!10
53ms131kbCool!10
66ms262kbCool!10
76ms262kbCool!10
87ms262kbCool!10
917ms393kbCool!10
109ms393kbCool!10
Punctaj total100

Ceva nu functioneaza?