Borderou de evaluare (job #2954782)

Utilizator MatteoalexandruMatteo Verzotti Matteoalexandru Data 15 decembrie 2022 12:15:16
Problema Ubuntzei Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dijkstra(int, const Graph&, std::vector<int>&)': main.cpp:21:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 21 | auto [d, from] = pq.top(); d = -d; | ^ main.cpp: In function 'int main()': main.cpp:57:57: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] 57 | vector <vector <int>> dp(1 + k, vector <int>(1 << k + 1, INF)); | ~~^~~ main.cpp:61:39: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] 61 | for (int mask = 3; mask < (1 << k + 1); mask += 2) { | ~~^~~ main.cpp:76:35: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] 76 | dbg(i); dbg(dp[i][(1 << k + 1) - 1]); | ~~^~~ main.cpp:2:37: note: in definition of macro 'dbg' 2 | #define dbg(x) cerr << #x << ' ' << x << '\n' | ^ main.cpp:77:38: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] 77 | ans = min(ans, dp[i][(1 << k + 1) - 1] + distances[i][n]); | ~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms192kbIncorect0
20ms192kbIncorect0
30ms188kbIncorect0
40ms192kbIncorect0
50ms196kbIncorect0
60ms196kbIncorect0
70ms196kbIncorect0
80ms184kbIncorect0
90ms192kbKilled by Signal 110
100ms184kbKilled by Signal 110
110ms188kbKilled by Signal 110
120ms192kbIncorect0
130ms184kbKilled by Signal 110
140ms184kbKilled by Signal 110
150ms184kbKilled by Signal 110
160ms188kbKilled by Signal 110
170ms192kbKilled by Signal 110
180ms188kbKilled by Signal 110
190ms196kbKilled by Signal 110
200ms196kbIncorect0
Punctaj total0

Ceva nu functioneaza?