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_32342209_15022.cpp:1:4: error: expected unqualified-id before 'for'
    for (int j = 1;j<=n;j++)
    ^
0_0_32342209_15022.cpp:1:19: error: 'j' does not name a type
    for (int j = 1;j<=n;j++)
                   ^
0_0_32342209_15022.cpp:1:24: error: 'j' does not name a type
    for (int j = 1;j<=n;j++)
                        ^
0_0_32342209_15022.cpp:3:13: error: expected unqualified-id before 'for'
             for (int j = 1;j<=q;j++)
             ^
0_0_32342209_15022.cpp:3:28: error: 'j' does not name a type
             for (int j = 1;j<=q;j++)
                            ^
0_0_32342209_15022.cpp:3:33: error: 'j' does not name a type
             for (int j = 1;j<=q;j++)
                                 ^
0_0_32342209_15022.cpp:8:17: error: expected constructor, destructor, or type conversion before '(' token
             sort(t+1,t+len+1,cmp);
                 ^
0_0_32342209_15022.cpp:9:13: error: expected unqualified-id before 'for'
             for (int j = 1,k = 2,st = 2;j<=len;j++)
             ^
0_0_32342209_15022.cpp:9:41: error: 'j' does not name a type
             for (int j = 1,k = 2,st = 2;j<=len;j++)
                                         ^
0_0_32342209_15022.cpp:9:48: error: 'j' does not name a type
             for (int j = 1,k = 2,st = 2;j<=len;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-06-17 12:16:41, Gzip enabled