Borderou de evaluare (job #2283743)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 15 noiembrie 2018 20:49:23
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=] scanf("%1d", &bit) ; ^ main.cpp:44:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d", dp[(1 << n) - 1]) ; ^ main.cpp:24:36: 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:25:38: 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:28:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &l) ; ^ main.cpp:31:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%1d", &bit) ; ^ main.cpp:36:31: 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
12ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
33ms131kbKilled by Signal 110
49ms131kbKilled by Signal 110
512ms131kbKilled by Signal 110
638ms262kbKilled by Signal 110
784ms262kbKilled by Signal 110
8126ms262kbKilled by Signal 110
9238ms524kbKilled by Signal 110
10194ms393kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?