Borderou de evaluare (job #2822719)

Utilizator David-MDavid Memarnishvili David-M Data 24 decembrie 2021 22:11:45
Problema Paths Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:8:1: error: 'ifstream' does not name a type 8 | ifstream in("paths.in"); | ^~~~~~~~ main.cpp:9:1: error: 'ofstream' does not name a type 9 | ofstream out("paths.out"); | ^~~~~~~~ main.cpp: In function 'void df(int)': main.cpp:61:15: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 61 | for (auto [y,c]:v[x]){ | ^ main.cpp: At global scope: main.cpp:68:11: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts' 68 | void merj(auto &a, auto b, int c){ | ^~~~ main.cpp:68:20: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts' 68 | void merj(auto &a, auto b, int c){ | ^~~~ main.cpp: In function 'void merj(auto:1&, auto:2, int)': main.cpp:69:11: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 69 | auto &[amx1, amx2]=a; | ^ main.cpp:70:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 70 | auto [bmx1, bmx2]=b; | ^ main.cpp: In function 'void find_maxs(int)': main.cpp:79:15: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 79 | for (auto [y,c]:v[x]){ | ^ main.cpp: In function 'void find_maxs2(int)': main.cpp:88:15: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 88 | for (auto [y,c]:v[x]){ | ^ main.cpp:90:15: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 90 | auto &[d,u]=mx[y]; | ^ main.cpp: In function 'void du(int, long long int, int)': main.cpp:110:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 110 | auto [d,u]=mx[y]; | ^ main.cpp:113:9: warning: unused variable 'distd' [-Wunused-variable] 113 | ll &distd=mp[d].F; | ^~~~~ main.cpp:114:9: warning: unused variable 'distu' [-Wunused-variable] 114 | ll &distu=mp[u].F; | ^~~~~ main.cpp: In function 'void dfs(int)': main.cpp:130:15: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 130 | for (auto [y,c]:v[x]){ | ^ main.cpp: In function 'void build_set()': Non zero exit status: 1

Ceva nu functioneaza?