Pagini recente »
Borderou de evaluare (job #648593)
|
Borderou de evaluare (job #759236)
Borderou de evaluare (job #759236)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:51:13: warning: 'p1' may be used uninitialized [-Wmaybe-uninitialized]
51 | nr1=m-u1+p1-1;
| ~~~~^~~
main.cpp:15:22: note: 'p1' was declared here
15 | int m,n,i,j,mini,p1,p2,u1,u2,nr1,nr2,maxi;
| ^~
main.cpp:52:13: warning: 'p2' may be used uninitialized [-Wmaybe-uninitialized]
52 | nr2=n-u2+p2-1;
| ~~~~^~~
main.cpp:15:25: note: 'p2' was declared here
15 | int m,n,i,j,mini,p1,p2,u1,u2,nr1,nr2,maxi;
| ^~
main.cpp:51:10: warning: 'u1' may be used uninitialized [-Wmaybe-uninitialized]
51 | nr1=m-u1+p1-1;
| ~^~~
main.cpp:15:28: note: 'u1' was declared here
15 | int m,n,i,j,mini,p1,p2,u1,u2,nr1,nr2,maxi;
| ^~
main.cpp:52:10: warning: 'u2' may be used uninitialized [-Wmaybe-uninitialized]
52 | nr2=n-u2+p2-1;
| ~^~~
main.cpp:15:31: note: 'u2' was declared here
15 | int m,n,i,j,mini,p1,p2,u1,u2,nr1,nr2,maxi;
| ^~
main.cpp:54:28: warning: 'maxi' may be used uninitialized [-Wmaybe-uninitialized]
54 | cout<<mini<<" "<<maxi<<" "<<(nr1>nr2?1:2);
| ^~~
main.cpp:15:42: note: 'maxi' was declared here
15 | int m,n,i,j,mini,p1,p2,u1,u2,nr1,nr2,maxi;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
249 kb
|
OK
|
10
|
7
|
1 ms
|
249 kb
|
OK
|
10
|
8
|
1 ms
|
249 kb
|
OK
|
10
|
9
|
1 ms
|
249 kb
|
OK
|
10
|
10
|
1 ms
|
249 kb
|
OK
|
10
|
Punctaj total
|
70
|