Pagini recente » Borderou de evaluare (job #2847553) | Borderou de evaluare (job #648489) | Borderou de evaluare (job #609205) | Borderou de evaluare (job #659693) | Borderou de evaluare (job #2736267)
Borderou de evaluare (job #2736267)
Raport evaluator
Compilare:
main.cpp: In member function 'void Solver::solveOne(std::istream&, std::ostream&)':
main.cpp:68:48: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
if (j > 0 && j < 4) dp[i&1][j] = dp[i&1^1][j-1] + dp[i&1^1][j+1];
~^~
main.cpp:68:65: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
if (j > 0 && j < 4) dp[i&1][j] = dp[i&1^1][j-1] + dp[i&1^1][j+1];
~^~
main.cpp:69:45: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
else if (j == 0) dp[i&1][j] = dp[i&1^1][j+1];
~^~
main.cpp:70:33: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
else dp[i&1][j] = dp[i&1^1][j-1];
~^~
main.cpp:72:41: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
for (int j = 0; j < 5; ++j) dp[i&1^1][j].clear();
~^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 3ms | 131kb | OK | 5 |
| 7 | 3ms | 131kb | OK | 5 |
| 8 | 3ms | 131kb | OK | 5 |
| 9 | 3ms | 131kb | OK | 5 |
| 10 | 4ms | 131kb | OK | 5 |
| 11 | 6ms | 131kb | OK | 5 |
| 12 | 7ms | 131kb | OK | 5 |
| 13 | 9ms | 131kb | OK | 5 |
| 14 | 12ms | 131kb | OK | 5 |
| 15 | 16ms | 131kb | OK | 5 |
| 16 | 2ms | 131kb | OK | 5 |
| 17 | 2ms | 131kb | OK | 5 |
| 18 | 3ms | 131kb | OK | 5 |
| 19 | 4ms | 131kb | OK | 5 |
| 20 | 13ms | 131kb | OK | 5 |
| Punctaj total | 100 |