Pagini recente » Borderou de evaluare (job #2056066) | Borderou de evaluare (job #2103726) | Borderou de evaluare (job #1660654) | Borderou de evaluare (job #102660) | Borderou de evaluare (job #3258403)
Borderou de evaluare (job #3258403)
Raport evaluator
Compilare:
In function 'int check(int)',
inlined from 'int main()' at main.cpp:37:31:
main.cpp:25:12: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
25 | st = cautBin(dr, n, x) + 1;
| ~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:9:19: note: 'poz' was declared here
9 | int ind = st, poz;
| ^~~
In function 'int cautBin(int, int, int)',
inlined from 'int check(int)' at main.cpp:25:21,
inlined from 'int main()' at main.cpp:37:31:
main.cpp:12:28: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
12 | if(sp[mid] - sp[ind] <= x) st = mid + 1, poz = mid;
| ~~~~~~^
main.cpp: In function 'int main()':
main.cpp:9:19: note: 'poz' was declared here
9 | int ind = st, poz;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 10 | 10 |
2 | 0ms | 303kb | OK | 10 | 10 |
3 | 4ms | 1081kb | OK | 10 | 10 |
4 | 8ms | 1867kb | OK | 10 | 10 |
5 | 14ms | 4489kb | OK | 10 | 10 |
6 | 18ms | 5677kb | OK | 10 | 10 |
7 | 19ms | 5935kb | OK | 10 | 30 |
8 | 24ms | 7368kb | OK | 10 |
9 | 29ms | 8183kb | OK | 10 |
10 | 0ms | 303kb | OK | 10 | 10 |
Punctaj total | 100 |