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_36396141_5874.cpp: In function 'int main()':
0_0_36396141_5874.cpp:46:21: error: 'struct std::pair<int, int>' has no member named 'fi'
         for(int i=j.fi;i<=j.se;i++)
                     ^
0_0_36396141_5874.cpp:46:29: error: 'struct std::pair<int, int>' has no member named 'se'
         for(int i=j.fi;i<=j.se;i++)
                             ^
0_0_36396141_5874.cpp:48:28: error: too many arguments to function 'void W()'
         if(!f)return W("NO");
                            ^
0_0_36396141_5874.cpp:30:6: note: declared here
 void W() {}
      ^
0_0_36396141_5874.cpp:48:28: error: void value not ignored as it ought to be
         if(!f)return W("NO");
                            ^
0_0_36396141_5874.cpp:50:12: error: too many arguments to function 'void W()'
     W("YES");
            ^
0_0_36396141_5874.cpp:30:6: note: declared here
 void 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-27 01:18:14, Gzip enabled