Borderou de evaluare (job #2434796)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 2 iulie 2019 14:43:11
Problema Obstacole Status done
Runda Junior Challenge 2019 Runda 1 Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:49:16: warning: variable 'a1' set but not used [-Wunused-but-set-variable] ld a1, a2, b1, b2; ^~ main.cpp:49:20: warning: variable 'a2' set but not used [-Wunused-but-set-variable] ld a1, a2, b1, b2; ^~ main.cpp:49:28: warning: variable 'b2' set but not used [-Wunused-but-set-variable] ld a1, a2, b1, b2; ^~ main.cpp:18:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("obstacole.in", "r", stdin); ^ main.cpp:19:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("obstacole.out", "w", stdout); ^ main.cpp:54:23: warning: 'b1' may be used uninitialized in this function [-Wmaybe-uninitialized] ld d = b1 + min (a[j].x1, a[j].x2) - x; ~~~^~~~~~~~~~~~~~~~~~~~~~~~
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms131kbOK10
24ms131kbOK10
331ms131kbIncorect0
430ms131kbIncorect0
531ms131kbIncorect0
624ms262kbKilled by Signal 110
719ms262kbKilled by Signal 110
823ms262kbKilled by Signal 110
918ms262kbKilled by Signal 110
1014ms262kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?