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_38318360_19346.cpp: In function 'void input()':
0_0_38318360_19346.cpp:25:18: error: reference to 'lock' is ambiguous
   scanf("%d%d", &lock[i][0], &lock[i][1]);
                  ^
0_0_38318360_19346.cpp:7:27: note: candidates are: int lock [4096][2]
 int low[maxn], dfn[maxn], lock[maxn][2];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/condition_variable:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:101,
                 from 0_0_38318360_19346.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/mutex:668:5: note:                 template<class _L1, class _L2, class ... _L3> void std::lock(_L1&, _L2&, _L3& ...)
     lock(_L1& __l1, _L2& __l2, _L3&... __l3)
     ^
0_0_38318360_19346.cpp:25:31: error: reference to 'lock' is ambiguous
   scanf("%d%d", &lock[i][0], &lock[i][1]);
                               ^
0_0_38318360_19346.cpp:7:27: note: candidates are: int lock [4096][2]
 int low[maxn], dfn[maxn], lock[maxn][2];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/condition_variable:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:101,
                 from 0_0_38318360_19346.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/mutex:668:5: note:                 template<class _L1, class _L2, class ... _L3> void std::lock(_L1&, _L2&, _L3& ...)
     lock(_L1& __l1, _L2& __l2, _L3&... __l3)
     ^
0_0_38318360_19346.cpp: In function 'bool judge(int)':
0_0_38318360_19346.cpp:68:7: error: reference to 'lock' is ambiguous
   add(lock[i][0] + 2 * n, lock[i][1]);
       ^
0_0_38318360_19346.cpp:7:27: note: candidates are: int lock [4096][2]
 int low[maxn], dfn[maxn], lock[maxn][2];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/condition_variable:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:101,
                 from 0_0_38318360_19346.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/mutex:668:5: note:                 template<class _L1, class _L2, class ... _L3> void std::lock(_L1&, _L2&, _L3& ...)
     lock(_L1& __l1, _L2& __l2, _L3&... __l3)
     ^
0_0_38318360_19346.cpp:68:27: error: reference to 'lock' is ambiguous
   add(lock[i][0] + 2 * n, lock[i][1]);
                           ^
0_0_38318360_19346.cpp:7:27: note: candidates are: int lock [4096][2]
 int low[maxn], dfn[maxn], lock[maxn][2];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/condition_variable:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:101,
                 from 0_0_38318360_19346.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/mutex:668:5: note:                 template<class _L1, class _L2, class ... _L3> void std::lock(_L1&, _L2&, _L3& ...)
     lock(_L1& __l1, _L2& __l2, _L3&... __l3)
     ^
0_0_38318360_19346.cpp:69:7: error: reference to 'lock' is ambiguous
   add(lock[i][1] + 2 * n, lock[i][0]);
       ^
0_0_38318360_19346.cpp:7:27: note: candidates are: int lock [4096][2]
 int low[maxn], dfn[maxn], lock[maxn][2];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/condition_variable:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:101,
                 from 0_0_38318360_19346.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/mutex:668:5: note:                 template<class _L1, class _L2, class ... _L3> void std::lock(_L1&, _L2&, _L3& ...)
     lock(_L1& __l1, _L2& __l2, _L3&... __l3)
     ^
0_0_38318360_19346.cpp:69:27: error: reference to 'lock' is ambiguous
   add(lock[i][1] + 2 * n, lock[i][0]);
                           ^
0_0_38318360_19346.cpp:7:27: note: candidates are: int lock [4096][2]
 int low[maxn], dfn[maxn], lock[maxn][2];
                           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/condition_variable:39:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:101,
                 from 0_0_38318360_19346.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/mutex:668:5: note:                 template<class _L1, class _L2, class ... _L3> void std::lock(_L1&, _L2&, _L3& ...)
     lock(_L1& __l1, _L2& __l2, _L3&... __l3)
     ^


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-29 22:22:32, Gzip enabled