0_0_20969187_15715.cpp:10:23: error: stray '#' in program
const int maxn = 100 + 5;
^
0_0_20969187_15715.cpp:11:25: error: stray '#' in program
const int INF = 100000 + 5;
^
0_0_20969187_15715.cpp:23:9: error: stray '#' in program
S[c++] = x;
^
0_0_20969187_15715.cpp:23:14: error: stray '#' in program
S[c++] = x;
^
0_0_20969187_15715.cpp:24:40: error: stray '#' in program
for (int i = 0; i < G[x].size(); i++)
^
0_0_20969187_15715.cpp:24:45: error: stray '#' in program
for (int i = 0; i < G[x].size(); i++)
^
0_0_20969187_15715.cpp:31:32: error: stray '#' in program
for (int i = 0; i < n*2; i++) G[i].clear();
^
0_0_20969187_15715.cpp:31:37: error: stray '#' in program
for (int i = 0; i < n*2; i++) G[i].clear();
^
0_0_20969187_15715.cpp:36:32: error: stray '#' in program
for(int i = 0; i < n*2; i += 2){
^
0_0_20969187_15715.cpp:37:30: error: stray '#' in program
if(!mark[i] && !mark[i+1]) {
^
0_0_20969187_15715.cpp:41:21: error: stray '#' in program
if(!dfs(i+1)) return false;
^
0_0_20969187_15715.cpp:53:33: error: stray '#' in program
return sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2));
^
0_0_20969187_15715.cpp:59:31: error: stray '#' in program
for(int i = 0;i < n;i++){
^
0_0_20969187_15715.cpp:59:36: error: stray '#' in program
for(int i = 0;i < n;i++){
^
0_0_20969187_15715.cpp:63:33: error: stray '#' in program
for(int t = 0;t < 100;t++){
^
0_0_20969187_15715.cpp:63:38: error: stray '#' in program
for(int t = 0;t < 100;t++){
^
0_0_20969187_15715.cpp:64:22: error: stray '#' in program
mid = (l+r) / 2;
^
0_0_20969187_15715.cpp:66:35: error: stray '#' in program
for(int i = 0;i < n;i++){
^
0_0_20969187_15715.cpp:66:40: error: stray '#' in program
for(int i = 0;i < n;i++){
^
0_0_20969187_15715.cpp:67:31: error: stray '#' in program
for(int j = i+1;j < n;j++){
^
0_0_20969187_15715.cpp:67:45: error: stray '#' in program
for(int j = i+1;j < n;j++){
^
0_0_20969187_15715.cpp:67:50: error: stray '#' in program
for(int j = i+1;j < n;j++){
^
0_0_20969187_15715.cpp:73:53: error: stray '#' in program
solver.G[2*i].push_back(2*j+1);
^
0_0_20969187_15715.cpp:74:53: error: stray '#' in program
solver.G[2*j].push_back(2*i+1);
^
0_0_20969187_15715.cpp:78:38: error: stray '#' in program
solver.G[2*j+1].push_back(2*i+1);
^
0_0_20969187_15715.cpp:78:59: error: stray '#' in program
solver.G[2*j+1].push_back(2*i+1);
^
0_0_20969187_15715.cpp:81:38: error: stray '#' in program
solver.G[2*i+1].push_back(2*j+1);
^
0_0_20969187_15715.cpp:81:59: error: stray '#' in program
solver.G[2*i+1].push_back(2*j+1);
^
0_0_20969187_15715.cpp:85:38: error: stray '#' in program
solver.G[2*i+1].push_back(2*j);
^
0_0_20969187_15715.cpp:86:38: error: stray '#' in program
solver.G[2*j+1].push_back(2*i);
^
0_0_20969187_15715.cpp:10:28: error: expected unqualified-id before numeric constant
const int maxn = 100 + 5;
^
0_0_20969187_15715.cpp:11:30: error: expected unqualified-id before numeric constant
const int INF = 100000 + 5;
^
0_0_20969187_15715.cpp: In member function 'bool TwoSAT::dfs(int)':
0_0_20969187_15715.cpp:23:12: error: expected ']' before ';' token
S[c++] = x;
^
0_0_20969187_15715.cpp:23:15: error: lvalue required as unary '&' operand
S[c++] = x;
^
0_0_20969187_15715.cpp:23:18: error: expected primary-expression before ']' token
S[c++] = x;
^
0_0_20969187_15715.cpp:24:43: error: expected ')' before ';' token
for (int i = 0; i < G[x].size(); i++)
^
0_0_20969187_15715.cpp:24:46: error: lvalue required as unary '&' operand
for (int i = 0; i < G[x].size(); i++)
^
0_0_20969187_15715.cpp:24:49: error: expected primary-expression before ')' token
for (int i = 0; i < G[x].size(); i++)
^
0_0_20969187_15715.cpp: In member function 'void TwoSAT::init(int)':
0_0_20969187_15715.cpp:31:35: error: expected ')' before ';' token
for (int i = 0; i < n*2; i++) G[i].clear();
^
0_0_20969187_15715.cpp:31:38: error: lvalue required as unary '&' operand
for (int i = 0; i < n*2; i++) G[i].clear();
^
0_0_20969187_15715.cpp:31:41: error: expected primary-expression before ')' token
for (int i = 0; i < n*2; i++) G[i].clear();
^
0_0_20969187_15715.cpp: In member function 'bool TwoSAT::solve()':
0_0_20969187_15715.cpp:36:35: error: expected ')' before ';' token
for(int i = 0; i < n*2; i += 2){
^
0_0_20969187_15715.cpp:36:36: error: expected primary-expression before '=' token
for(int i = 0; i < n*2; i += 2){
^
0_0_20969187_15715.cpp: In function 'double dis(int, int, int, int)':
0_0_20969187_15715.cpp:53:36: error: expected ')' before ';' token
return sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2));
^
0_0_20969187_15715.cpp:53:52: error: expected ';' before ')' token
return sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2));
^
0_0_20969187_15715.cpp: In function 'int main()':
0_0_20969187_15715.cpp:59:34: error: expected ')' before ';' token
for(int i = 0;i < n;i++){
^
0_0_20969187_15715.cpp:59:37: error: lvalue required as unary '&' operand
for(int i = 0;i < n;i++){
^
0_0_20969187_15715.cpp:59:40: error: expected primary-expression before ')' token
for(int i = 0;i < n;i++){
^
0_0_20969187_15715.cpp:63:36: error: expected ')' before ';' token
for(int t = 0;t < 100;t++){
^
0_0_20969187_15715.cpp:63:39: error: lvalue required as unary '&' operand
for(int t = 0;t < 100;t++){
^
0_0_20969187_15715.cpp:63:42: error: expected primary-expression before ')' token
for(int t = 0;t < 100;t++){
^
|