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_38318366_3513.cpp: In function 'void input()':
0_0_38318366_3513.cpp:30:24: error: reference to 'lock' is ambiguous
         scanf("%d%d", &lock[i][0], &lock[i][1]);
                        ^
0_0_38318366_3513.cpp:11: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_38318366_3513.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_38318366_3513.cpp:30:37: error: reference to 'lock' is ambiguous
         scanf("%d%d", &lock[i][0], &lock[i][1]);
                                     ^
0_0_38318366_3513.cpp:11: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_38318366_3513.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_38318366_3513.cpp: In function 'bool judge(int)':
0_0_38318366_3513.cpp:76:13: error: reference to 'lock' is ambiguous
         add(lock[i][0] + 2 * n, lock[i][1]);
             ^
0_0_38318366_3513.cpp:11: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_38318366_3513.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_38318366_3513.cpp:76:33: error: reference to 'lock' is ambiguous
         add(lock[i][0] + 2 * n, lock[i][1]);
                                 ^
0_0_38318366_3513.cpp:11: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_38318366_3513.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_38318366_3513.cpp:77:13: error: reference to 'lock' is ambiguous
         add(lock[i][1] + 2 * n, lock[i][0]);
             ^
0_0_38318366_3513.cpp:11: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_38318366_3513.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_38318366_3513.cpp:77:33: error: reference to 'lock' is ambiguous
         add(lock[i][1] + 2 * n, lock[i][0]);
                                 ^
0_0_38318366_3513.cpp:11: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_38318366_3513.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-06-28 02:22:02, Gzip enabled