Pagini recente » Borderou de evaluare (job #1789392) | Borderou de evaluare (job #2876956) | Borderou de evaluare (job #2496936) | Borderou de evaluare (job #253722) | Borderou de evaluare (job #2840129)
Borderou de evaluare (job #2840129)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:28: warning: self-comparison always evaluates to false [-Wtautological-compare]
36 | if(s[f[a[i].first]]>s[f[a[i].first]])
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:22:9: warning: array subscript 1000001 is outside array bounds of 'int [1000000]' [-Warray-bounds]
22 | fill(s+1,s+1000001,1);
| ~~~~^~~~~~~~~~~~~~~~~
main.cpp:9:28: note: while referencing 's'
9 | int t,n,m,k,i,j,f[1000000],s[1000000],p[1000000],o[1000000],l,w,x,y,z;pair<int,int>a[1000000];
| ^
main.cpp:23:9: warning: array subscript 1000001 is outside array bounds of 'int [1000000]' [-Warray-bounds]
23 | fill(p,p+1000001,0);
| ~~~~^~~~~~~~~~~~~~~
main.cpp:9:39: note: while referencing 'p'
9 | int t,n,m,k,i,j,f[1000000],s[1000000],p[1000000],o[1000000],l,w,x,y,z;pair<int,int>a[1000000];
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 76ms | 13230kb | Incorect | 0 |
Punctaj total | 0 |