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_37063334_25394.cpp: In function 'int main()':
0_0_37063334_25394.cpp:187:19: error: 'r' was not declared in this scope
             while(r > tt[i].r)
                   ^
0_0_37063334_25394.cpp:187:26: error: 'i' was not declared in this scope
             while(r > tt[i].r)
                          ^
0_0_37063334_25394.cpp:189:22: error: 'l' was not declared in this scope
                 rdel(l, r--);
                      ^
0_0_37063334_25394.cpp:191:20: error: 'i' was not declared in this scope
             ans[tt[i].id] = res;
                    ^
0_0_37063334_25394.cpp: At global scope:
0_0_37063334_25394.cpp:192:11: error: expected unqualified-id before '/' token
         }*/
           ^
0_0_37063334_25394.cpp:192:11: error: expected constructor, destructor, or type conversion before '/' token
0_0_37063334_25394.cpp:194:15: error: 'i' does not name a type
   for(int i=1;i<=m;i++)
               ^
0_0_37063334_25394.cpp:194:20: error: 'i' does not name a type
   for(int i=1;i<=m;i++)
                    ^
0_0_37063334_25394.cpp:206:3: error: expected unqualified-id before 'for'
   for(int i=1;i<=m;i++) printf("%lld\n",ans[i]);
   ^
0_0_37063334_25394.cpp:206:15: error: 'i' does not name a type
   for(int i=1;i<=m;i++) printf("%lld\n",ans[i]);
               ^
0_0_37063334_25394.cpp:206:20: error: 'i' does not name a type
   for(int i=1;i<=m;i++) printf("%lld\n",ans[i]);
                    ^
0_0_37063334_25394.cpp:207: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.015600(s) query 1, Server time : 2024-09-21 15:35:24, Gzip enabled