Pagini recente »
Borderou de evaluare (job #655082)
|
Borderou de evaluare (job #49106)
|
Borderou de evaluare (job #29638)
|
Borderou de evaluare (job #624538)
|
Borderou de evaluare (job #739542)
Borderou de evaluare (job #739542)
Raport evaluator
Compilare:
main.cpp: In function 'int cbin(int, int, int)':
main.cpp:18:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
18 | if( v[mij] == val )
| ~~~~~~~^~~~~~
main.cpp:20:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
20 | else if( v[mij] < val )
| ~~~~~~~^~~~~
main.cpp:24:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
24 | else if( v[mij] > val )
| ~~~~~~~^~~~~
main.cpp:29:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
29 | if( v[mij] == val )
| ~~~~~~~^~~~~~
main.cpp:29:14: warning: 'mij' may be used uninitialized [-Wmaybe-uninitialized]
29 | if( v[mij] == val )
| ~~~~~^
main.cpp:14:25: note: 'mij' was declared here
14 | int st = a, dr = b, mij;
| ^~~
In function 'int cbin(int, int, int)',
inlined from 'int main()' at main.cpp:61:21:
main.cpp:29:14: warning: 'mij' may be used uninitialized [-Wmaybe-uninitialized]
29 | if( v[mij] == val )
| ~~~~~^
main.cpp: In function 'int main()':
main.cpp:14:25: note: 'mij' was declared here
14 | int st = a, dr = b, mij;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
5 ms
|
245 kb
|
OK
|
10
|
2
|
5 ms
|
245 kb
|
OK
|
10
|
3
|
5 ms
|
245 kb
|
OK
|
10
|
4
|
6 ms
|
245 kb
|
OK
|
10
|
5
|
9 ms
|
245 kb
|
OK
|
10
|
6
|
9 ms
|
249 kb
|
OK
|
10
|
7
|
13 ms
|
241 kb
|
OK
|
10
|
8
|
13 ms
|
249 kb
|
OK
|
10
|
9
|
27 ms
|
495 kb
|
Incorect
|
0
|
10
|
41 ms
|
487 kb
|
Incorect
|
0
|
Punctaj total
|
80
|