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_35647087_29080.cpp: In function 'bool compF(std::vector<std::pair<int, int> >, std::vector<std::pair<int, int> >)':
0_0_35647087_29080.cpp:7:15: error: 'class std::vector<std::pair<int, int> >' has no member named 'second'
     {return x.second<y.second;}
               ^
0_0_35647087_29080.cpp:7:24: error: 'class std::vector<std::pair<int, int> >' has no member named 'second'
     {return x.second<y.second;}
                        ^
0_0_35647087_29080.cpp: In function 'bool compA(std::vector<std::pair<int, int> >, std::vector<std::pair<int, int> >)':
0_0_35647087_29080.cpp:9:15: error: 'class std::vector<std::pair<int, int> >' has no member named 'first'
     {return x.first<y.first;}
               ^
0_0_35647087_29080.cpp:9:23: error: 'class std::vector<std::pair<int, int> >' has no member named 'first'
     {return x.first<y.first;}
                       ^
0_0_35647087_29080.cpp: At global scope:
0_0_35647087_29080.cpp:10:17: error: expected ')' before ';' token
 int format(int i;int j)
                 ^
0_0_35647087_29080.cpp:10:23: error: expected initializer before ')' token
 int format(int i;int 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-26 04:10:13, Gzip enabled