Borderou de evaluare (job #2773095)

Utilizator andreimocianAndrei Mocian andreimocian Data 4 septembrie 2021 17:13:55
Problema Tnia Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 32

Raport evaluator

Compilare: main.cpp: In function 'int caut_binara(int, int, int)': main.cpp:40:12: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized] return poz; ^~~ main.cpp: In function 'void solve()': main.cpp:53:49: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized] ans = s[hhigh] - s[hlow] - 1LL * (hhigh - hlow) * (B - 1) + 1LL * (C - hhigh) * (D - B + 1); ~~~~~~~^~~~~~~ main.cpp:53:78: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized] ans = s[hhigh] - s[hlow] - 1LL * (hhigh - hlow) * (B - 1) + 1LL * (C - hhigh) * (D - B + 1); ~~~^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbKilled by Signal 110
23ms131kbKilled by Signal 110
32ms131kbIncorect0
42ms131kbIncorect0
513ms364kbKilled by Signal 110
617ms786kbCorect4
726ms1048kbCorect4
834ms1310kbKilled by Signal 110
97ms262kbIncorect0
103ms131kbKilled by Signal 110
113ms131kbKilled by Signal 110
127ms262kbIncorect0
13177ms2097kbIncorect0
1429ms1310kbKilled by Signal 110
15180ms2228kbCorect6
16181ms2490kbCorect6
17208ms2490kbCorect6
18196ms2359kbCorect6
1933ms1310kbKilled by Signal 110
Punctaj total32

Ceva nu functioneaza?