Borderou de evaluare (job #3184587)
Raport evaluator
Compilare:
main.cpp: In function 'int cb0(int, int, int)':
main.cpp:17:9: warning: unused variable 'poz' [-Wunused-variable]
17 | int poz,m;
| ^~~
main.cpp: In function 'int cb1(int, int, int)':
main.cpp:42:9: warning: unused variable 'poz' [-Wunused-variable]
42 | int poz,m;
| ^~~
main.cpp: In function 'int cb2(int, int, int)':
main.cpp:59:9: warning: unused variable 'poz' [-Wunused-variable]
59 | int poz,m;
| ^~~
main.cpp: In function 'int main()':
main.cpp:76:13: warning: unused variable 'j' [-Wunused-variable]
76 | int n,i,j,x,m,t;
| ^
main.cpp: In function 'int cb0(int, int, int)':
main.cpp:30:11: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
30 | if(v[m]>x)
| ~~~^
main.cpp:17:13: note: 'm' was declared here
17 | int poz,m;
| ^
main.cpp: In function 'int cb1(int, int, int)':
main.cpp:55:16: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
55 | return m;
| ^
main.cpp:42:13: note: 'm' was declared here
42 | int poz,m;
| ^
main.cpp: In function 'int cb2(int, int, int)':
main.cpp:72:16: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
72 | return m;
| ^
main.cpp:59:13: note: 'm' was declared here
59 | int poz,m;
| ^
In function 'int cb0(int, int, int)',
inlined from 'int main()' at main.cpp:88:31:
main.cpp:30:11: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
30 | if(v[m]>x)
| ~~~^
main.cpp: In function 'int main()':
main.cpp:17:13: note: 'm' was declared here
17 | int poz,m;
| ^
main.cpp:96:31: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
96 | fout<<cb2(1,n,x)<<'\n';
| ^~~~
main.cpp:59:13: note: 'm' was declared here
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 | 5ms | 557kb | Incorect | 0 | 0 |
6 | 14ms | 770kb | Incorect | 0 |
7 | 24ms | 1155kb | Incorect | 0 | 0 |
8 | 24ms | 1134kb | Incorect | 0 |
9 | 24ms | 1130kb | Incorect | 0 |
10 | 24ms | 1122kb | Incorect | 0 |
Punctaj total | 0 |