Borderou de evaluare (job #2625493)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 5 iunie 2020 23:53:19
Problema Nambartiori Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:132:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("nambartiori.in" , "r" , stdin); ^ main.cpp:133:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("nambartiori.out" , "w" , stdout); ^ main.cpp:162:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld" , &t); ^ main.cpp:165:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld" , &n , &k); ^ main.cpp:137:15: warning: iteration 31621 invokes undefined behavior [-Waggressive-loop-optimizations] if(p[i] == 0) ~~~^ main.cpp:136:19: note: within this loop for(i = 2 ; i <= 100000 ; i ++) ~~^~~~~~~~~ main.cpp: In function 'll bs1()': main.cpp:87:19: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized] return last + 1; ^ main.cpp: In function 'll bs2()': main.cpp:119:12: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized] return last; ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms393kbKilled by Signal 1100
24ms393kbKilled by Signal 1100
34ms393kbKilled by Signal 110
43ms393kbKilled by Signal 1100
54ms393kbKilled by Signal 110
64ms393kbKilled by Signal 110
73ms393kbKilled by Signal 1100
83ms393kbKilled by Signal 110
93ms393kbKilled by Signal 110
104ms393kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?