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_38938409_10217.cpp: In function 'int main()':
0_0_38938409_10217.cpp:36:18: error: lvalue required as decrement operand
   36 | for(int i=m-2;i>=0--i){
      |                  ^
0_0_38938409_10217.cpp:36:21: error: expected ';' before 'i'
   36 | for(int i=m-2;i>=0--i){
      |                     ^
      |                     ;
0_0_38938409_10217.cpp:38:17: error: expected ')' before '{' token
   38 | if(vs(a[i],a[j]){
      |   ~             ^
      |                 )
0_0_38938409_10217.cpp:44:1: error: expected primary-expression before '}' token
   44 | }
      | ^
0_0_38938409_10217.cpp:52:13: error: expected ';' before '}' token
   52 |     return 0
      |             ^
      |             ;
   53 | }
      | ~            


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-23 10:14:00, Gzip enabled