Borderou de evaluare (job #1463593)

Utilizator TeodorescuStefanEduardTeodorescu Stefan Eduard TeodorescuStefanEduard Data 21 iulie 2015 12:23:26
Problema 2SAT Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:1: error: stray ‘##’ in program ##include <bits/stdc++.h> ^ user.cpp:1:3: error: ‘include’ does not name a type ##include <bits/stdc++.h> ^ user.cpp:91:5: error: ‘vector’ does not name a type vector<vector<int>> G, GT; ^ user.cpp:92:5: error: ‘vector’ does not name a type vector<bool> solution; ^ user.cpp:94:5: error: ‘vector’ does not name a type vector<int> postorder; ^ user.cpp:95:5: error: ‘vector’ does not name a type vector<bool> visited; ^ user.cpp: In constructor ‘SAT2::SAT2(int)’: user.cpp:17:9: error: ‘G’ was not declared in this scope G.resize(2 * N + 1); ^ user.cpp:18:9: error: ‘GT’ was not declared in this scope GT.resize(2 * N + 1); ^ user.cpp:19:9: error: ‘solution’ was not declared in this scope solution.resize(2 * N + 1); ^ user.cpp:21:9: error: ‘postorder’ was not declared in this scope postorder.resize(2 * N + 1); ^ user.cpp:22:9: error: ‘visited’ was not declared in this scope visited.resize(2 * N + 1); ^ user.cpp: In member function ‘void SAT2::addEdge(int, int)’: user.cpp:38:9: error: ‘G’ was not declared in this scope G[Not(x)].push_back(y); ^ user.cpp:39:9: error: ‘GT’ was not declared in this scope GT[y].push_back(Not(x)); ^ user.cpp: In member function ‘void SAT2::dfs(int)’: user.cpp:47:9: error: ‘visited’ was not declared in this scope visited[nod] = true; ^ user.cpp:49:23: error: ‘G’ was not declared in this scope for (auto it: G[nod]) ^ user.cpp:53:9: error: ‘postorder’ was not declared in this scope postorder[ ++p ] = nod;

Ceva nu functioneaza?