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_38573548_25296.cpp: In function 'bool dfs(int)':
0_0_38573548_25296.cpp:10:14: error: expected ';' before '{' token
 for(int i=0;i{
              ^
              ;
0_0_38573548_25296.cpp:10:14: error: expected primary-expression before '{' token
0_0_38573548_25296.cpp:10:14: error: expected ')' before '{' token
 for(int i=0;i{
    ~         ^
              )
0_0_38573548_25296.cpp:11:14: error: reference to 'map' is ambiguous
 if(!mark[i]&&map[x][i])
              ^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
                 from 0_0_38573548_25296.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
     class map
           ^~~
0_0_38573548_25296.cpp:5:13: note:                 'int map [100010][11]'
 int cap[11],map[N][11];
             ^~~
0_0_38573548_25296.cpp:14:10: error: expected ')' before '{' token
 if(val[i] {
   ~      ^~
          )
0_0_38573548_25296.cpp:19:13: error: 'j' was not declared in this scope
 for(int j=0;j {
             ^
0_0_38573548_25296.cpp: In function 'bool Yes()':
0_0_38573548_25296.cpp:34:10: error: expected ';' before '{' token
 for(i=0;i {
          ^~
          ;
0_0_38573548_25296.cpp:34:11: error: expected primary-expression before '{' token
 for(i=0;i {
           ^
0_0_38573548_25296.cpp:34:10: error: expected ')' before '{' token
 for(i=0;i {
    ~     ^~
          )
0_0_38573548_25296.cpp: In function 'int main()':
0_0_38573548_25296.cpp:44:8: error: reference to 'map' is ambiguous
 memset(map,0,sizeof(map));
        ^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
                 from 0_0_38573548_25296.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
     class map
           ^~~
0_0_38573548_25296.cpp:5:13: note:                 'int map [100010][11]'
 int cap[11],map[N][11];
             ^~~
0_0_38573548_25296.cpp:44:21: error: reference to 'map' is ambiguous
 memset(map,0,sizeof(map));
                     ^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
                 from 0_0_38573548_25296.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
     class map
           ^~~
0_0_38573548_25296.cpp:5:13: note:                 'int map [100010][11]'
 int cap[11],map[N][11];
             ^~~
0_0_38573548_25296.cpp:45:14: error: expected ';' before '{' token
 for(int i=0;i {
              ^~
              ;
0_0_38573548_25296.cpp:45:15: error: expected primary-expression before '{' token
 for(int i=0;i {
               ^
0_0_38573548_25296.cpp:45:14: error: expected ')' before '{' token
 for(int i=0;i {
    ~         ^~
              )
0_0_38573548_25296.cpp:46:14: error: expected ';' before '{' token
 for(int j=0;j {
              ^~
              ;
0_0_38573548_25296.cpp:46:15: error: expected primary-expression before '{' token
 for(int j=0;j {
               ^
0_0_38573548_25296.cpp:46:14: error: expected ')' before '{' token
 for(int j=0;j {
    ~         ^~
              )
0_0_38573548_25296.cpp:47:13: error: reference to 'map' is ambiguous
 scanf("%d",&map[i][j]);
             ^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
                 from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
                 from 0_0_38573548_25296.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
     class map
           ^~~
0_0_38573548_25296.cpp:5:13: note:                 'int map [100010][11]'
 int cap[11],map[N][11];
             ^~~
0_0_38573548_25296.cpp:50:14: error: expected ';' before 'if'
 for(int i=0;i if(Yes())
              ^~~
              ;
0_0_38573548_25296.cpp:50:15: error: expected primary-expression before 'if'
 for(int i=0;i if(Yes())
               ^~
0_0_38573548_25296.cpp:50:14: error: expected ')' before 'if'
 for(int i=0;i if(Yes())
    ~         ^~~
              )


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-09-17 03:55:19, Gzip enabled