Borderou de evaluare (job #2840129)

Utilizator AndreidreiGresoiu Liviu-Andrei Andreidrei Data 27 ianuarie 2022 09:57:10
Problema Arhipelag Status done
Runda nu_mai_suntem_o_echipa Compilator cpp-64 | Vezi sursa
Scor 0

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
176ms13230kbIncorect0
Punctaj total0

Ceva nu functioneaza?