Borderou de evaluare (job #2763153)

Utilizator ValiAntonieAntonie Valentin ValiAntonie Data 12 iulie 2021 05:21:58
Problema Ausoara Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:133: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if((i != n && v[i][pointer[i]] < v[i+1][pointer[i+1]]) || (i != 1 && v[i][pointer[i]] < v[i-1][pointer[i-1]]) && pointer[i] != v[i].size()){ ~~~~~~~~~~~^~~~~~~~~~~~~~ main.cpp:25:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if((i != n && v[i][pointer[i]] < v[i+1][pointer[i+1]]) || (i != 1 && v[i][pointer[i]] < v[i-1][pointer[i-1]]) && pointer[i] != v[i].size()){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:37:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=nr;i++) ^~~ main.cpp:39:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return 0; ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
23ms131kbIncorect0
33ms131kbIncorect0
43ms131kbIncorect0
54ms262kbIncorect0
66ms262kbIncorect0
715ms393kbIncorect0
818ms393kbIncorect0
925ms524kbIncorect0
1032ms524kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?