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_35230816_20809.cpp:10:9: error: 'pair' does not name a type
 typedef pair<int, int>PII;
         ^
0_0_35230816_20809.cpp: In function 'int main()':
0_0_35230816_20809.cpp:74:7: error: 'PII' was not declared in this scope
   map<PII, int>mp;
       ^
0_0_35230816_20809.cpp:74:15: error: template argument 1 is invalid
   map<PII, int>mp;
               ^
0_0_35230816_20809.cpp:74:15: error: template argument 3 is invalid
0_0_35230816_20809.cpp:74:15: error: template argument 4 is invalid
0_0_35230816_20809.cpp:74:18: error: invalid type in declaration before ';' token
   map<PII, int>mp;
                  ^
0_0_35230816_20809.cpp:84:15: error: 'v' was not declared in this scope
    addedge(u, v, w);
               ^


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-23 03:33:47, Gzip enabled