Borderou de evaluare (job #2584683)

Utilizator alextodoranTodoran Alexandru Raul alextodoran Data 18 martie 2020 16:34:26
Problema Sunmihai Status done
Runda FMI No Stress 9 Warmup Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:32: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] dp[i & 1][x[i]] = dp[i & 1 ^ 1][y[i]] + a; ~~^~~ main.cpp:34:32: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] dp[i & 1][y[i]] = dp[i & 1 ^ 1][x[i]]; ~~^~~ main.cpp:37:51: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] dp[i & 1][j] = min(dp[i & 1][j], dp[i & 1 ^ 1][j] + b); ~~^~~ main.cpp:38:51: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] dp[i & 1][j] = min(dp[i & 1][j], dp[i & 1 ^ 1][x[i]] + c); ~~^~~ main.cpp:39:51: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] dp[i & 1][j] = min(dp[i & 1][j], dp[i & 1 ^ 1][y[i]] + a + c); ~~^~~ main.cpp:42:22: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] fout << min(dp[n & 1 ^ 1][x[n]], dp[n & 1 ^ 1][y[n]] + a) << "\n"; ~~^~~ main.cpp:42:43: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] fout << min(dp[n & 1 ^ 1][x[n]], dp[n & 1 ^ 1][y[n]] + a) << "\n"; ~~^~~
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✓12ms131kbOK510
✓22ms131kbOK5
✓32ms131kbOK520
✓42ms131kbOK5
✓52ms131kbOK5
✓62ms131kbOK5
✓76ms131kbOK520
✓87ms131kbOK5
✓96ms131kbOK5
✓107ms131kbOK5
✓1119ms262kbOK520
✓1219ms262kbOK5
✓1319ms262kbOK5
✓1419ms262kbOK5
✓15123ms917kbOK530
✓16131ms917kbOK5
✓17134ms917kbOK5
✓18114ms1048kbOK5
✓19131ms917kbOK5
✓20128ms917kbOK5
Punctaj total100

Ceva nu functioneaza?