Borderou de evaluare (job #2431453)

Utilizator MohamedAhmed04Mohamed Ahmed Ali Mohamed Bakry MohamedAhmed04 Data 19 iunie 2019 15:52:20
Problema Ghiozdan Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:46:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ghiozdan.in", "r", stdin); ^ main.cpp:47:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ghiozdan.out" , "w" , stdout) ; ^ main.cpp:49:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ main.cpp:50:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for (int i = 0; i < n; ++i) scanf("%d", w + i); ^ main.cpp: In function 'void hirschberg(int, int, int)': main.cpp:42:15: warning: 'bestr' may be used uninitialized in this function [-Wmaybe-uninitialized] hirschberg(mid + 1, e, rem - bestr); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
3135ms786kbOK10
42003ms917kbTime limit exceeded0
5764ms1966kbOK10
6871ms655kbOK10
72000ms917kbTime limit exceeded0
82003ms1310kbTime limit exceeded0
92000ms1441kbTime limit exceeded0
102000ms1441kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?