Borderou de evaluare (job #2954794)

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

Raport evaluator

Eroare de 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:70:38: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] 70 | ans = min(ans, dp[i][(1 << k + 1) - 1] + distances[i][n]); | ~~^~~ main.cpp:74:1: error: expected '}' at end of input 74 | } | ^ main.cpp:36:12: note: to match this '{' 36 | int main() { | ^ Non zero exit status: 1

Ceva nu functioneaza?