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_29381536_7746.cpp: In function 'void solve1()':
0_0_29381536_7746.cpp:14:41: error: 'INF' was not declared in this scope
     for(int i=0;i<26;++i) dp[pos[n]][i]=INF;
                                         ^
0_0_29381536_7746.cpp: At global scope:
0_0_29381536_7746.cpp:42:9: error: 'P' was not declared in this scope
     map<P,bool> mp;
         ^
0_0_29381536_7746.cpp:42:15: error: template argument 1 is invalid
     map<P,bool> mp;
               ^
0_0_29381536_7746.cpp:42:15: error: template argument 3 is invalid
0_0_29381536_7746.cpp:42:15: error: template argument 4 is invalid
0_0_29381536_7746.cpp: In member function 'void Tire::init()':
0_0_29381536_7746.cpp:44:12: error: request for member 'clear' in '((Tire*)this)->Tire::mp', which is of non-class type 'int'
         mp.clear();
            ^
0_0_29381536_7746.cpp:46:18: error: 'MS' was not declared in this scope
         MS(fail,0);
                  ^
0_0_29381536_7746.cpp: In member function 'void Tire::find(int)':
0_0_29381536_7746.cpp:84:44: error: 'MP' was not declared in this scope
                     mp[MP(cnt[p],jiedian[y])]=true;
                                            ^
0_0_29381536_7746.cpp: In member function 'void Tire::solve()':
0_0_29381536_7746.cpp:102:70: error: 'MP' was not declared in this scope
             ans[i][1]=mp[MP(jiedian[query[i][0]],jiedian[query[i][1]])];
                                                                      ^
0_0_29381536_7746.cpp: In function 'int main()':
0_0_29381536_7746.cpp:113:22: error: 'MS' was not declared in this scope
         MS(isqu,false);
                      ^


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.001000(s) query 1, Server time : 2025-02-28 05:48:36, Gzip enabled