Pagini recente » Borderou de evaluare (job #2403390) | Borderou de evaluare (job #2082598) | Borderou de evaluare (job #355358) | Borderou de evaluare (job #1932125) | Borderou de evaluare (job #3258381)
Borderou de evaluare (job #3258381)
Raport evaluator
Compilare:
main.cpp: In function 'int verif(int)':
main.cpp:31:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
31 | if(j==n)
| ^~
main.cpp:33:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
33 | if(k2>k)
| ^~
main.cpp: In function 'int cb(int, int, int)':
main.cpp:22:12: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized]
22 | return p;
| ^
main.cpp:11:14: note: 'p' was declared here
11 | int b=st,p;
| ^
main.cpp: In function 'int verif(int)':
main.cpp:35:10: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized]
35 | i=cb(j,n,c)+1;
| ~^~~~~~~~~~~~
main.cpp:11:14: note: 'p' was declared here
11 | int b=st,p;
| ^
In function 'int cb(int, int, int)',
inlined from 'int verif(int)' at main.cpp:35:13:
main.cpp:14:18: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized]
14 | int m=(st+dr)/2;
| ~~~^~~~
main.cpp: In function 'int verif(int)':
main.cpp:11:14: note: 'p' was declared here
11 | int b=st,p;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Incorect | 0 | 0 |
2 | 0ms | 303kb | Incorect | 0 | 0 |
3 | 4ms | 557kb | Incorect | 0 | 0 |
4 | 8ms | 1081kb | Incorect | 0 | 0 |
5 | 13ms | 2220kb | Incorect | 0 | 0 |
6 | 18ms | 3190kb | Incorect | 0 | 0 |
7 | 23ms | 3444kb | Incorect | 0 | 0 |
8 | 24ms | 3776kb | Incorect | 0 |
9 | 28ms | 4210kb | Incorect | 0 |
10 | 0ms | 303kb | OK | 10 | 10 |
Punctaj total | 10 |