Borderou de evaluare (job #2817611)

Utilizator schizofrenieShallan Davar schizofrenie Data 13 decembrie 2021 22:04:48
Problema Catun Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:49:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 49 | auto [price, node] = q.top(); | ^ main.cpp:52:19: warning: comparison of integer expressions of different signedness: 'std::tuple_element<0, std::pair<int, int> >::type' {aka 'int'} and 'unsigned int' [-Wsign-compare] 52 | if (price > min_path[node]) | ~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/10/cassert:44, from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:33, from main.cpp:1: main.cpp:55:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'std::tuple_element<0, std::pair<int, int> >::type' {aka 'int'} [-Wsign-compare] 55 | assert(min_path[node] == price); | ~~~~~~~~~~~~~~~^~~~~~~~ main.cpp:57:19: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 57 | for (auto [new_price, to] : edges[node]) { | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
26ms1179kbOK10
316ms1511kbOK10
42ms184kbOK10
535ms2093kbOK10
664ms2920kbOK10
76ms1294kbOK10
816ms1470kbOK10
949ms2473kbOK10
10116ms4022kbOK10
Punctaj total100

Ceva nu functioneaza?