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_36167167_16883.cpp:10:1: error: 'map' does not name a type
 map <string,int> mp;
 ^
0_0_36167167_16883.cpp: In function 'void check1()':
0_0_36167167_16883.cpp:16:13: error: 'mp' was not declared in this scope
         if(!mp.count(w[i])) return;
             ^
0_0_36167167_16883.cpp:18:10: error: 'mp' was not declared in this scope
     if(!(mp.count("1s")&&mp.count("1p")&&mp.count("1w")&&mp.count("9s")&&mp.count("9p")&&mp.count("9w")))
          ^
0_0_36167167_16883.cpp:22:12: error: 'mp' was not declared in this scope
         if(mp[w[i]]) f=1;
            ^
0_0_36167167_16883.cpp:23:8: error: 'mp' was not declared in this scope
     if(mp["1s"]||mp["1p"]||mp["1w"]||mp["9s"]||mp["9p"]||mp["9w"])
        ^
0_0_36167167_16883.cpp: In function 'void check2()':
0_0_36167167_16883.cpp:28:9: error: 'mp' was not declared in this scope
     if(!mp.count("1"+t)||mp["1"+t]<3||!mp.count("9"+t)||mp["9"+t]<3)
         ^
0_0_36167167_16883.cpp:31:12: error: 'mp' was not declared in this scope
         if(mp.count(d[i]+t)) f=2;
            ^
0_0_36167167_16883.cpp: In function 'int main()':
0_0_36167167_16883.cpp:40:13: error: 'mp' was not declared in this scope
         if(!mp.count(s[i]))
             ^
0_0_36167167_16883.cpp:45:16: error: 'type' was not declared in this scope
         if(vis[type[i]]) sum++,t=type[i];
                ^


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-16 18:18:47, Gzip enabled