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_22012078_28762.cpp:4:17: error: 'stdext' is not a namespace-name
 using namespace stdext;
                 ^
0_0_22012078_28762.cpp:4:23: error: expected namespace-name before ';' token
 using namespace stdext;
                       ^
0_0_22012078_28762.cpp:7:9: error: 'hash_map' does not name a type
 typedef hash_map<int,int> Map;
         ^
0_0_22012078_28762.cpp:9:1: error: 'Map' does not name a type
 Map f,g,id;
 ^
0_0_22012078_28762.cpp: In function 'int& F(int)':
0_0_22012078_28762.cpp:21:10: error: 'id' was not declared in this scope
     if (!id[x]) match(mat[id[x]=++ids],x);
          ^
0_0_22012078_28762.cpp:22:5: error: 'Map' has not been declared
     Map::iterator it=f.find(x);
     ^
0_0_22012078_28762.cpp:23:9: error: 'it' was not declared in this scope
     if (it==f.end()) f[x]=INT_MIN;
         ^
0_0_22012078_28762.cpp:23:13: error: 'f' was not declared in this scope
     if (it==f.end()) f[x]=INT_MIN;
             ^
0_0_22012078_28762.cpp:24:12: error: 'f' was not declared in this scope
     return f[x];
            ^
0_0_22012078_28762.cpp: In function 'int main()':
0_0_22012078_28762.cpp:52:9: error: 'f' was not declared in this scope
         f.clear(),g.clear(),id.clear(),ids=0;
         ^
0_0_22012078_28762.cpp:52:19: error: 'g' was not declared in this scope
         f.clear(),g.clear(),id.clear(),ids=0;
                   ^
0_0_22012078_28762.cpp:52:29: error: 'id' was not declared in this scope
         f.clear(),g.clear(),id.clear(),ids=0;
                             ^
0_0_22012078_28762.cpp:56:18: error: 'Map' has not been declared
             for (Map::iterator it=g.begin();it!=g.end();++it) {
                  ^
0_0_22012078_28762.cpp:56:45: error: 'it' was not declared in this scope
             for (Map::iterator it=g.begin();it!=g.end();++it) {
                                             ^
0_0_22012078_28762.cpp:58:44: error: 'w' was not declared in this scope
                 if (get(d,m+1)==0) F(d<<2)=w;
                                            ^
0_0_22012078_28762.cpp:62:22: error: 'Map' has not been declared
                 for (Map::iterator it=g.begin();it!=g.end();++it) {
                      ^
0_0_22012078_28762.cpp:62:49: error: 'it' was not declared in this scope
                 for (Map::iterator it=g.begin();it!=g.end();++it) {
                                                 ^
0_0_22012078_28762.cpp:66:61: error: 'w' was not declared in this scope
                         if (x==3 && mod(d,j,0)==0) Max(F(0),w+a[i][j]);
                                                             ^
0_0_22012078_28762.cpp:67:63: error: 'w' was not declared in this scope
                         if (y==3 && mod(d,j+1,0)==0) Max(F(0),w+a[i][j]);
                                                               ^
0_0_22012078_28762.cpp:73:39: error: 'w' was not declared in this scope
                             Max(F(v1),w+a[i][j]),Max(F(v2),w+a[i][j]);
                                       ^
0_0_22012078_28762.cpp:76:54: error: 'w' was not declared in this scope
                         Max(F(mod(mod(d,j,1),j+1,2)),w+a[i][j]);
                                                      ^
0_0_22012078_28762.cpp:81:34: error: 'w' was not declared in this scope
                         Max(F(v),w+a[i][j]);
                                  ^
0_0_22012078_28762.cpp:85:34: error: 'w' was not declared in this scope
                         Max(F(v),w+a[i][j]); 
                                  ^
0_0_22012078_28762.cpp:88:35: error: 'w' was not declared in this scope
                         Max(F(v1),w+a[i][j]),Max(F(v2),w+a[i][j]);
                                   ^
0_0_22012078_28762.cpp:91:34: error: 'w' was not declared in this scope
                         Max(F(v),w+a[i][j]);
                                  ^
0_0_22012078_28762.cpp:95:34: error: 'w' was not declared in this scope
                         Max(F(v),w+a[i][j]);
                                  ^
0_0_22012078_28762.cpp:99:34: error: 'w' was not declared in this scope
                         Max(F(v),w+a[i][j]);
                                  ^


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-25 02:02:12, Gzip enabled