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_26509162_27279.cpp: In function 'bool dfs(int)':
0_0_26509162_27279.cpp:28:23: error: reference to 'exa' is ambiguous
             int gap = exa[u] + exb[v] - w[u][v];
                       ^
0_0_26509162_27279.cpp:18:9: note: candidates are: int exa [555]
     int exa[MAXN],exb[MAXN];
         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/chrono:38:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:100,
                 from 0_0_26509162_27279.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ratio:528:47: note:                 typedef struct std::ratio<1000000000000000000ll, 1ll> std::exa
   typedef ratio<      1000000000000000000, 1> exa;
                                               ^
0_0_26509162_27279.cpp: In function 'int go(int)':
0_0_26509162_27279.cpp:45:13: error: reference to 'exa' is ambiguous
             exa[i] = w[i][0];
             ^
0_0_26509162_27279.cpp:18:9: note: candidates are: int exa [555]
     int exa[MAXN],exb[MAXN];
         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/chrono:38:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:100,
                 from 0_0_26509162_27279.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ratio:528:47: note:                 typedef struct std::ratio<1000000000000000000ll, 1ll> std::exa
   typedef ratio<      1000000000000000000, 1> exa;
                                               ^
0_0_26509162_27279.cpp:46:25: error: reference to 'exa' is ambiguous
             llp(j,1,sz) exa[i] = max(exa[i],w[i][j]); 
                         ^
0_0_26509162_27279.cpp:18:9: note: candidates are: int exa [555]
     int exa[MAXN],exb[MAXN];
         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/chrono:38:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:100,
                 from 0_0_26509162_27279.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ratio:528:47: note:                 typedef struct std::ratio<1000000000000000000ll, 1ll> std::exa
   typedef ratio<      1000000000000000000, 1> exa;
                                               ^
0_0_26509162_27279.cpp:46:38: error: reference to 'exa' is ambiguous
             llp(j,1,sz) exa[i] = max(exa[i],w[i][j]); 
                                      ^
0_0_26509162_27279.cpp:18:9: note: candidates are: int exa [555]
     int exa[MAXN],exb[MAXN];
         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/chrono:38:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:100,
                 from 0_0_26509162_27279.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ratio:528:47: note:                 typedef struct std::ratio<1000000000000000000ll, 1ll> std::exa
   typedef ratio<      1000000000000000000, 1> exa;
                                               ^
0_0_26509162_27279.cpp:57:34: error: reference to 'exa' is ambiguous
                     if (visa[j]) exa[j] -= d;
                                  ^
0_0_26509162_27279.cpp:18:9: note: candidates are: int exa [555]
     int exa[MAXN],exb[MAXN];
         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/chrono:38:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:100,
                 from 0_0_26509162_27279.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ratio:528:47: note:                 typedef struct std::ratio<1000000000000000000ll, 1ll> std::exa
   typedef ratio<      1000000000000000000, 1> exa;
                                               ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 11:50:35, Gzip enabled