Borderou de evaluare (job #2981127)

Utilizator NutaAlexandruASN49K NutaAlexandru Data 17 februarie 2023 11:48:45
Problema Vila Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void solve()': main.cpp:86:26: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 86 | for(auto [y,x]:dir) | ^ main.cpp: At global scope: main.cpp:107:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 107 | main() | ^~~~ main.cpp: In function 'int main()': main.cpp:120:9: error: 'cout' was not declared in this scope 120 | cout<<'\n'; | ^~~~ main.cpp:12:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 11 | #include <cassert> +++ |+#include <iostream> 12 | using namespace std; Non zero exit status: 1

Ceva nu functioneaza?