Borderou de evaluare (job #2074066)

Utilizator Andrei1998Andrei Constantinescu Andrei1998 Data 24 noiembrie 2017 01:47:06
Problema Echilibrare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In constructor ‘LPSolver::LPSolver(const VVD&, const VD&, const VD&)’: user.cpp:32:9: warning: ‘LPSolver::N’ will be initialized after [-Wreorder] VI B, N; ^ user.cpp:32:6: warning: ‘VI LPSolver::B’ [-Wreorder] VI B, N; ^ user.cpp:35:3: warning: when initialized here [-Wreorder] LPSolver(const VVD &A, const VD &b, const VD &c): ^ user.cpp: In member function ‘bool LPSolver::Simplex(int)’: user.cpp:60:64: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (s == -1 || D[x][j] < D[x][s] || D[x][j] == D[x][s] && N[j] < N[s]) s = j; ^ user.cpp:67:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] (D[i][n + 1] / D[i][s]) == (D[r][n + 1] / D[r][s]) && B[i] < B[r]) r = i; ^ user.cpp: In member function ‘DOUBLE LPSolver::Solve(VD&)’: user.cpp:83:66: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (s == -1 || D[i][j] < D[i][s] || D[i][j] == D[i][s] && N[j] < N[s]) s = j; ^ user.cpp: In function ‘int main()’: user.cpp:98:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("echilibrare.in", "r", stdin); ^ user.cpp:99:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("echilibrare.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms488kbMatrice incompleta!0
20ms492kbMatrice incompleta!0
30ms488kbMatrice incompleta!0
40ms520kbIncorect!0
50ms548kbIncorect!0
6Depăşit3424kbTime limit exceeded.0
7Depăşit3424kbTime limit exceeded.0
8Depăşit6456kbTime limit exceeded.0
9Depăşit6456kbTime limit exceeded.0
10Depăşit6456kbTime limit exceeded.0
110ms500kbIncorect!0
120ms544kbIncorect!0
130ms608kbIncorect!0
1456ms1576kbIncorect!0
15Depăşit6460kbTime limit exceeded.0
16Depăşit6456kbTime limit exceeded.0
17Depăşit6456kbTime limit exceeded.0
18Depăşit6452kbTime limit exceeded.0
19Depăşit6456kbTime limit exceeded.0
20Depăşit6456kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?