Pagini recente » Borderou de evaluare (job #468547) | Borderou de evaluare (job #998729) | Borderou de evaluare (job #1260828) | Borderou de evaluare (job #2312844) | Borderou de evaluare (job #2074077)
Borderou de evaluare (job #2074077)
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 |
1 | 0ms | 420kb | Corect!!! | 5 |
2 | 0ms | 420kb | Corect!!! | 5 |
3 | 0ms | 420kb | Corect!!! | 5 |
4 | 0ms | 444kb | Corect!!! | 5 |
5 | 0ms | 476kb | Corect!!! | 5 |
6 | Depăşit | 3424kb | Time limit exceeded. | 0 |
7 | Depăşit | 3424kb | Time limit exceeded. | 0 |
8 | Depăşit | 6456kb | Time limit exceeded. | 0 |
9 | Depăşit | 6456kb | Time limit exceeded. | 0 |
10 | Depăşit | 6456kb | Time limit exceeded. | 0 |
11 | 0ms | 428kb | Corect!!! | 5 |
12 | 0ms | 476kb | Corect!!! | 5 |
13 | 0ms | 540kb | Corect!!! | 5 |
14 | 56ms | 1576kb | Corect!!! | 5 |
15 | Depăşit | 6452kb | Time limit exceeded. | 0 |
16 | Depăşit | 6456kb | Time limit exceeded. | 0 |
17 | Depăşit | 6456kb | Time limit exceeded. | 0 |
18 | Depăşit | 6456kb | Time limit exceeded. | 0 |
19 | Depăşit | 6452kb | Time limit exceeded. | 0 |
20 | Depăşit | 6452kb | Time limit exceeded. | 0 |
Punctaj total | 45 |