Borderou de evaluare (job #2463212)

Utilizator ContNou1Cont nou 1 ContNou1 Data 28 septembrie 2019 11:06:42
Problema Coprime Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:70:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=0;i<n/2;i++) ^~~ main.cpp:72:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return 0; ^~~~~~ main.cpp: In function 'void citire()': main.cpp:19:21: warning: array subscript is above array bounds [-Warray-bounds] mat[i][2]=2; ~~~~~~~~^ main.cpp: In function 'void rez()': main.cpp:37:16: warning: array subscript is above array bounds [-Warray-bounds] mat[i][2]=j; ~~~~~~~~^ main.cpp:57:36: warning: array subscript is above array bounds [-Warray-bounds] mat[i][1]=mat[i-1][2]; ~~~~~~~~~~^ main.cpp:58:24: warning: array subscript is above array bounds [-Warray-bounds] mat[i][2]=mat[i][1]; ~~~~~~~~^ main.cpp: In function 'int main()': main.cpp:71:33: warning: array subscript is above array bounds [-Warray-bounds] g<<mat[i][1]<<endl<<mat[i][2]<<endl; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbWrong Answer!0
22ms131kbWrong Answer!0
33ms131kbWrong Answer!0
43ms131kbWrong Answer!0
53ms131kbWrong Answer!0
63ms131kbWrong Answer!0
73ms131kbWrong Answer!0
83ms131kbWrong Answer!0
93ms131kbWrong Answer!0
103ms131kbWrong Answer!0
Punctaj total0

Ceva nu functioneaza?