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_37398290_1646.cpp: In function 'int main()':
0_0_37398290_1646.cpp:39:6: error: expected primary-expression before 'if'
      if (x >= s[i].x1 && x <= s[i].x2 && x >= s[j].x1 && x <= s[j].x2)
      ^
0_0_37398290_1646.cpp:39:6: error: expected ';' before 'if'
0_0_37398290_1646.cpp:39:6: error: expected primary-expression before 'if'
0_0_37398290_1646.cpp:39:6: error: expected ')' before 'if'
0_0_37398290_1646.cpp: At global scope:
0_0_37398290_1646.cpp:44:3: error: 'cout' does not name a type
   cout << total << endl;
   ^
0_0_37398290_1646.cpp:45:2: error: expected declaration before '}' token
  }
  ^


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-25 09:44:23, Gzip enabled