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_32835814_6044.cpp:8:18: error: 'cout' does not name a type
 int st[maxn][30];cout
                  ^
0_0_32835814_6044.cpp:11:2: error: 'Q' does not name a type
 }Q[maxn];
  ^
0_0_32835814_6044.cpp:17:9: error: 'Node' was not declared in this scope
 int cmp(Node x, Node y)
         ^
0_0_32835814_6044.cpp:17:17: error: 'Node' was not declared in this scope
 int cmp(Node x, Node y)
                 ^
0_0_32835814_6044.cpp:17:23: error: expression list treated as compound expression in initializer [-fpermissive]
 int cmp(Node x, Node y)
                       ^
0_0_32835814_6044.cpp:18:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_32835814_6044.cpp: In function 'int main()':
0_0_32835814_6044.cpp:134:31: error: 'Q' was not declared in this scope
             scanf("%lld%lld",&Q[i].l,&Q[i].r);
                               ^
0_0_32835814_6044.cpp:142:14: error: 'Q' was not declared in this scope
         sort(Q+1,Q+1+m,cmp);
              ^


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-22 22:43:13, Gzip enabled