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_29348276_6629.cpp:9:11: error: unable to find numeric literal operator 'operator""char'
 #define N 110char maps[N][N];
           ^
0_0_29348276_6629.cpp:10:9: note: in expansion of macro 'N'
 int map[N][N];
         ^
0_0_29348276_6629.cpp:9:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define N 110char maps[N][N];
           ^
0_0_29348276_6629.cpp:10:9: note: in expansion of macro 'N'
 int map[N][N];
         ^
0_0_29348276_6629.cpp:9:19: error: expected ']' before 'maps'
 #define N 110char maps[N][N];
                   ^
0_0_29348276_6629.cpp:10:9: note: in expansion of macro 'N'
 int map[N][N];
         ^
0_0_29348276_6629.cpp:10:10: error: expected unqualified-id before ']' token
 int map[N][N];
          ^
0_0_29348276_6629.cpp:10:13: error: expected unqualified-id before ']' token
 int map[N][N];
             ^
0_0_29348276_6629.cpp:9:11: error: unable to find numeric literal operator 'operator""char'
 #define N 110char maps[N][N];
           ^
0_0_29348276_6629.cpp:11:8: note: in expansion of macro 'N'
 int lx[N], ly[N];
        ^
0_0_29348276_6629.cpp:9:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define N 110char maps[N][N];
           ^
0_0_29348276_6629.cpp:11:8: note: in expansion of macro 'N'
 int lx[N], ly[N];
        ^
0_0_29348276_6629.cpp:9:19: error: expected ']' before 'maps'
 #define N 110char maps[N][N];
                   ^
0_0_29348276_6629.cpp:11:8: note: in expansion of macro 'N'
 int lx[N], ly[N];
        ^
0_0_29348276_6629.cpp:11:9: error: expected unqualified-id before ']' token
 int lx[N], ly[N];
         ^
0_0_29348276_6629.cpp:11:16: error: expected unqualified-id before ']' token
 int lx[N], ly[N];
                ^
0_0_29348276_6629.cpp:9:11: error: unable to find numeric literal operator 'operator""char'
 #define N 110char maps[N][N];
           ^
0_0_29348276_6629.cpp:12:11: note: in expansion of macro 'N'
 int slack[N];
           ^
0_0_29348276_6629.cpp:9:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define N 110char maps[N][N];
           ^
0_0_29348276_6629.cpp:12:11: note: in expansion of macro 'N'
 int slack[N];
           ^
0_0_29348276_6629.cpp:9:19: error: expected ']' before 'maps'
 #define N 110char maps[N][N];
                   ^
0_0_29348276_6629.cpp:12:11: note: in expansion of macro 'N'
 int slack[N];
           ^
0_0_29348276_6629.cpp:12:12: error: expected unqualified-id before ']' token
 int slack[N];
            ^
0_0_29348276_6629.cpp:9:11: error: unable to find numeric literal operator 'operator""char'
 #define N 110char maps[N][N];
           ^
0_0_29348276_6629.cpp:13:11: note: in expansion of macro 'N'
 int match[N];
           ^
0_0_29348276_6629.cpp:9:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define N 110char maps[N][N];
           ^
0_0_29348276_6629.cpp:13:11: note: in expansion of macro 'N'
 int match[N];
           ^
0_0_29348276_6629.cpp:9:19: error: expected ']' before 'maps'
 #define N 110char maps[N][N];
                   ^
0_0_29348276_6629.cpp:13:11: note: in expansion of macro 'N'
 int match[N];
           ^
0_0_29348276_6629.cpp:13:12: error: expected unqualified-id before ']' token
 int match[N];
            ^
0_0_29348276_6629.cpp:9:11: error: unable to find numeric literal operator 'operator""char'
 #define N 110char maps[N][N];
           ^
0_0_29348276_6629.cpp:14:13: note: in expansion of macro 'N'
 bool visitx[N], visity[N];
             ^
0_0_29348276_6629.cpp:9:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define N 110char maps[N][N];
           ^
0_0_29348276_6629.cpp:14:13: note: in expansion of macro 'N'
 bool visitx[N], visity[N];
             ^
0_0_29348276_6629.cpp:9:19: error: expected ']' before 'maps'
 #define N 110char maps[N][N];
                   ^
0_0_29348276_6629.cpp:14:13: note: in expansion of macro 'N'
 bool visitx[N], visity[N];
             ^
0_0_29348276_6629.cpp:14:14: error: expected unqualified-id before ']' token
 bool visitx[N], visity[N];
              ^
0_0_29348276_6629.cpp:14:25: error: expected unqualified-id before ']' token
 bool visitx[N], visity[N];
                         ^
0_0_29348276_6629.cpp: In function 'bool Hungary(int)':
0_0_29348276_6629.cpp:18:5: error: 'visitx' was not declared in this scope
     visitx[u] = true;
     ^
0_0_29348276_6629.cpp:21:12: error: 'visity' was not declared in this scope
         if(visity[i])
            ^
0_0_29348276_6629.cpp:25:16: error: 'lx' was not declared in this scope
             if(lx[u] + ly[i] == map[u][i])
                ^
0_0_29348276_6629.cpp:25:24: error: 'ly' was not declared in this scope
             if(lx[u] + ly[i] == map[u][i])
                        ^
0_0_29348276_6629.cpp:25:33: error: 'map' was not declared in this scope
             if(lx[u] + ly[i] == map[u][i])
                                 ^
0_0_29348276_6629.cpp:28:20: error: 'match' was not declared in this scope
                 if(match[i] == -1 || Hungary(match[i]))
                    ^
0_0_29348276_6629.cpp:35:17: error: 'slack' was not declared in this scope
                 slack[i] = min(slack[i], lx[u] + ly[i] - map[u][i]);
                 ^
0_0_29348276_6629.cpp: In function 'void KM_perfect_match()':
0_0_29348276_6629.cpp:44:9: error: 'lx' was not declared in this scope
         lx[i] = -INT_MAX;
         ^
0_0_29348276_6629.cpp:45:12: error: 'ly' was not declared in this scope
     memset(ly, 0, sizeof(ly));
            ^
0_0_29348276_6629.cpp:48:13: error: 'lx' was not declared in this scope
             lx[i] = max(lx[i], map[i][j]);
             ^
0_0_29348276_6629.cpp:48:32: error: 'map' was not declared in this scope
             lx[i] = max(lx[i], map[i][j]);
                                ^
0_0_29348276_6629.cpp:52:13: error: 'slack' was not declared in this scope
             slack[j] = INT_MAX;
             ^
0_0_29348276_6629.cpp:55:20: error: 'visitx' was not declared in this scope
             memset(visitx, false, sizeof(visitx));
                    ^
0_0_29348276_6629.cpp:56:20: error: 'visity' was not declared in this scope
             memset(visity, false, sizeof(visity));
                    ^
0_0_29348276_6629.cpp:64:42: error: 'slack' was not declared in this scope
                         temp = min(temp, slack[j]);
                                          ^
0_0_29348276_6629.cpp:68:25: error: 'lx' was not declared in this scope
                         lx[j] -= temp;
                         ^
0_0_29348276_6629.cpp:72:25: error: 'slack' was not declared in this scope
                         slack[j] -= temp;
                         ^
0_0_29348276_6629.cpp: In function 'int main()':
0_0_29348276_6629.cpp:84:16: error: 'match' was not declared in this scope
         memset(match, -1, sizeof(match));
                ^
0_0_29348276_6629.cpp:90:30: error: 'maps' was not declared in this scope
                 scanf("%c", &maps[i][j]);
                              ^
0_0_29348276_6629.cpp:99:20: error: 'maps' was not declared in this scope
                 if(maps[i][j] == 'm')
                    ^
0_0_29348276_6629.cpp:106:33: error: 'map' was not declared in this scope
                                 map[numi][numj++] = - (abs(k - i) + abs(l - j));
                                 ^
0_0_29348276_6629.cpp:116:20: error: 'map' was not declared in this scope
             ans += map[match[i]][i];
                    ^


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-10-26 23:29:51, Gzip enabled