Pagini recente » Borderou de evaluare (job #279565) | Borderou de evaluare (job #3184591)
Borderou de evaluare (job #3184591)
Raport evaluator
Compilare:
main.cpp: In function 'int cb0(int, int, int)':
main.cpp:39:1: warning: no return statement in function returning non-void [-Wreturn-type]
39 | }
| ^
main.cpp: In function 'int main()':
main.cpp:80:13: warning: unused variable 'j' [-Wunused-variable]
80 | int n,i,j,x,m,t;
| ^
main.cpp: In function 'int cb1(int, int, int)':
main.cpp:55:11: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
55 | if(v[m]>x)
| ~~~^
main.cpp:42:9: note: 'm' was declared here
42 | int m;
| ^
main.cpp: In function 'int cb2(int, int, int)':
main.cpp:76:16: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
76 | return m;
| ^
main.cpp:63:9: note: 'm' was declared here
63 | int m;
| ^
In function 'int cb1(int, int, int)',
inlined from 'int main()' at main.cpp:96:31:
main.cpp:55:11: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
55 | if(v[m]>x)
| ~~~^
main.cpp: In function 'int main()':
main.cpp:42:9: note: 'm' was declared here
42 | int m;
| ^
main.cpp:100:31: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
100 | fout<<cb2(1,n,x)<<'\n';
| ^~~~
main.cpp:63:9: note: 'm' was declared here
63 | int m;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Incorect | 0 | 0 |
2 | 0ms | 303kb | Incorect | 0 | 0 |
3 | 0ms | 303kb | Incorect | 0 | 0 |
4 | 1ms | 303kb | Incorect | 0 | 0 |
5 | 4ms | 303kb | Incorect | 0 | 0 |
6 | 14ms | 786kb | Incorect | 0 |
7 | 19ms | 1028kb | Incorect | 0 | 0 |
8 | 19ms | 1024kb | Incorect | 0 |
9 | 19ms | 1019kb | Incorect | 0 |
10 | 19ms | 983kb | Incorect | 0 |
Punctaj total | 0 |