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_38236287_5613.cpp: In function 'int main()':
0_0_38236287_5613.cpp:16:20: error: expected primary-expression before ';' token
          for(int i=;i<len;i++)
                    ^
0_0_38236287_5613.cpp:18:20: error: expected primary-expression before ';' token
          for(int s=;s<len;s++)
                    ^
0_0_38236287_5613.cpp:20:24: error: expected primary-expression before ';' token
              for(int j=;j<len-s;j++)
                        ^
0_0_38236287_5613.cpp:22:28: error: expected primary-expression before ']' token
                  if(test[j-]>test[j])
                            ^
0_0_38236287_5613.cpp:24:34: error: expected primary-expression before ']' token
                      temp=test[j-];
                                  ^
0_0_38236287_5613.cpp:25:29: error: expected primary-expression before ']' token
                      test[j-]=test[j];
                             ^
0_0_38236287_5613.cpp:32:14: error: 's' was not declared in this scope
          for(s=;s<len;s++)
              ^
0_0_38236287_5613.cpp:32:16: error: expected primary-expression before ';' token
          for(s=;s<len;s++)
                ^
0_0_38236287_5613.cpp:35:24: error: expected primary-expression before ')' token
              if(s!=len-)
                        ^
0_0_38236287_5613.cpp:40:6: error: return-statement with no value, in function returning 'int' [-fpermissive]
      return ;
      ^


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-17 12:40:56, Gzip enabled