F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_20989626_9247.cpp:40:31: error: stray '#' in program
     for (int i = 0; i < cnt; ++i) {
                               ^
0_0_20989626_9247.cpp:40:36: error: stray '#' in program
     for (int i = 0; i < cnt; ++i) {
                                    ^
0_0_20989626_9247.cpp:41:31: error: stray '#' in program
         if ((s&(1<<pe[i].a)) + (s&(1<<pe[i].b))+(s&(1<<pe[i].c)) + (s&(1<<pe[i].d)) == 0) {
                               ^
0_0_20989626_9247.cpp:41:53: error: stray '#' in program
         if ((s&(1<<pe[i].a)) + (s&(1<<pe[i].b))+(s&(1<<pe[i].c)) + (s&(1<<pe[i].d)) == 0) {
                                                     ^
0_0_20989626_9247.cpp:41:75: error: stray '#' in program
         if ((s&(1<<pe[i].a)) + (s&(1<<pe[i].b))+(s&(1<<pe[i].c)) + (s&(1<<pe[i].d)) == 0) {
                                                                           ^
0_0_20989626_9247.cpp:42:25: error: stray '#' in program
             int si = s + (1<<pe[i].a) + (1<<pe[i].b) + (1<<pe[i].c) + (1<<pe[i].d);
                         ^
0_0_20989626_9247.cpp:42:44: error: stray '#' in program
             int si = s + (1<<pe[i].a) + (1<<pe[i].b) + (1<<pe[i].c) + (1<<pe[i].d);
                                            ^
0_0_20989626_9247.cpp:42:63: error: stray '#' in program
             int si = s + (1<<pe[i].a) + (1<<pe[i].b) + (1<<pe[i].c) + (1<<pe[i].d);
                                                               ^
0_0_20989626_9247.cpp:42:82: error: stray '#' in program
             int si = s + (1<<pe[i].a) + (1<<pe[i].b) + (1<<pe[i].c) + (1<<pe[i].d);
                                                                                  ^
0_0_20989626_9247.cpp:43:39: error: stray '#' in program
             Max = max (Max, dfs (si) + 4);
                                       ^
0_0_20989626_9247.cpp:51:33: error: stray '#' in program
         for (int i = 0; i < n; ++i) {
                                 ^
0_0_20989626_9247.cpp:51:38: error: stray '#' in program
         for (int i = 0; i < n; ++i) {
                                      ^
0_0_20989626_9247.cpp:55:21: error: stray '#' in program
         sort (p, p + n, cmp);
                     ^
0_0_20989626_9247.cpp:56:33: error: stray '#' in program
         for (int i = 0; i < n; ++i) {
                                 ^
0_0_20989626_9247.cpp:56:38: error: stray '#' in program
         for (int i = 0; i < n; ++i) {
                                      ^
0_0_20989626_9247.cpp:57:29: error: stray '#' in program
             for (int j = i + 1; j < n; ++j) {
                             ^
0_0_20989626_9247.cpp:57:45: error: stray '#' in program
             for (int j = i + 1; j < n; ++j) {
                                             ^
0_0_20989626_9247.cpp:57:50: error: stray '#' in program
             for (int j = i + 1; j < n; ++j) {
                                                  ^
0_0_20989626_9247.cpp:59:34: error: stray '#' in program
                 for (int ii = j + 1;  ii < n; ++ii) {
                                  ^
0_0_20989626_9247.cpp:59:52: error: stray '#' in program
                 for (int ii = j + 1;  ii < n; ++ii) {
                                                    ^
0_0_20989626_9247.cpp:59:57: error: stray '#' in program
                 for (int ii = j + 1;  ii < n; ++ii) {
                                                         ^
0_0_20989626_9247.cpp:60:39: error: stray '#' in program
                     for (int jj = ii + 1; jj < n; ++jj) {
                                       ^
0_0_20989626_9247.cpp:60:56: error: stray '#' in program
                     for (int jj = ii + 1; jj < n; ++jj) {
                                                        ^
0_0_20989626_9247.cpp:60:61: error: stray '#' in program
                     for (int jj = ii + 1; jj < n; ++jj) {
                                                             ^
0_0_20989626_9247.cpp:65:33: error: stray '#' in program
                             cnt++;
                                 ^
0_0_20989626_9247.cpp:65:38: error: stray '#' in program
                             cnt++;
                                      ^
0_0_20989626_9247.cpp: In function 'int dfs(int)':
0_0_20989626_9247.cpp:40:32: error: lvalue required as unary '&' operand
     for (int i = 0; i < cnt; ++i) {
                                ^
0_0_20989626_9247.cpp:40:34: error: expected ')' before ';' token
     for (int i = 0; i < cnt; ++i) {
                                  ^
0_0_20989626_9247.cpp:40:37: error: lvalue required as unary '&' operand
     for (int i = 0; i < cnt; ++i) {
                                     ^
0_0_20989626_9247.cpp:40:40: error: 'i' was not declared in this scope
     for (int i = 0; i < cnt; ++i) {
                                        ^
0_0_20989626_9247.cpp: In function 'int main()':
0_0_20989626_9247.cpp:51:34: error: lvalue required as unary '&' operand
         for (int i = 0; i < n; ++i) {
                                  ^
0_0_20989626_9247.cpp:51:36: error: expected ')' before ';' token
         for (int i = 0; i < n; ++i) {
                                    ^
0_0_20989626_9247.cpp:51:39: error: lvalue required as unary '&' operand
         for (int i = 0; i < n; ++i) {
                                       ^
0_0_20989626_9247.cpp:51:42: error: 'i' was not declared in this scope
         for (int i = 0; i < n; ++i) {
                                          ^
0_0_20989626_9247.cpp:55:22: error: invalid operands of types 'point [30]' and 'int' to binary 'operator&'
         sort (p, p + n, cmp);
                      ^
0_0_20989626_9247.cpp:55:32: error: expected ';' before ')' token
         sort (p, p + n, cmp);
                                ^
0_0_20989626_9247.cpp:56:34: error: lvalue required as unary '&' operand
         for (int i = 0; i < n; ++i) {
                                  ^
0_0_20989626_9247.cpp:56:36: error: expected ')' before ';' token
         for (int i = 0; i < n; ++i) {
                                    ^
0_0_20989626_9247.cpp:56:39: error: lvalue required as unary '&' operand
         for (int i = 0; i < n; ++i) {
                                       ^
0_0_20989626_9247.cpp:56:43: error: expected ';' before ')' token
         for (int i = 0; i < n; ++i) {
                                           ^
0_0_20989626_9247.cpp:74:1: error: expected '}' at end of input
 }
 ^
0_0_20989626_9247.cpp:74:1: error: expected '}' at end of input


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-23 06:32:04, Gzip enabled