Pagini recente » Borderou de evaluare (job #680869) | Borderou de evaluare (job #2302569) | Borderou de evaluare (job #416770) | Borderou de evaluare (job #1688772) | Borderou de evaluare (job #3194427)
Borderou de evaluare (job #3194427)
Raport evaluator
Compilare:
main.cpp: In function 'int cb(int, int, int)':
main.cpp:18:12: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
18 | return poz;
| ^~~
main.cpp:9:17: note: 'poz' was declared here
9 | int b = st, poz;
| ^~~
main.cpp: In function 'int process(int)':
main.cpp:27:11: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
27 | i = cb(j,n,c) + 1;
| ~~^~~~~~~~~~~~~~~
main.cpp:9:17: note: 'poz' was declared here
9 | int b = st, poz;
| ^~~
In function 'int cb(int, int, int)',
inlined from 'int process(int)' at main.cpp:27:15:
main.cpp:11:23: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
11 | int med = (st + dr) >> 1;
| ~~~~^~~~~
main.cpp: In function 'int process(int)':
main.cpp:9:17: note: 'poz' was declared here
9 | int b = st, poz;
| ^~~
main.cpp: In function 'void bin_src()':
main.cpp:43:27: warning: 'T' may be used uninitialized [-Wmaybe-uninitialized]
43 | fout << poz << " " << T;
| ^
main.cpp:32:41: note: 'T' was declared here
32 | int st = 1, dr = 2 * 1e2, med, poz, T;
| ^
main.cpp:43:20: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
43 | fout << poz << " " << T;
| ^~~
main.cpp:32:36: note: 'poz' was declared here
32 | int st = 1, dr = 2 * 1e2, med, poz, T;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 10 | 10 |
2 | 0ms | 303kb | OK | 10 | 10 |
3 | 3ms | 557kb | Incorect | 0 | 0 |
4 | 6ms | 1081kb | Incorect | 0 | 0 |
5 | 13ms | 2318kb | Incorect | 0 | 0 |
6 | 14ms | 2371kb | Incorect | 0 | 0 |
7 | 19ms | 3055kb | Incorect | 0 | 0 |
8 | 24ms | 3846kb | Incorect | 0 |
9 | 24ms | 3850kb | Incorect | 0 |
10 | 0ms | 303kb | OK | 10 | 10 |
Punctaj total | 30 |