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_39888897_12993.cpp: In function 'int main(int, const char**)':
0_0_39888897_12993.cpp:15:8: error: expected primary-expression before '<' token
   15 |        <span style="white-space:pre;">  </span>//初始化数组元素为零
      |        ^
0_0_39888897_12993.cpp:15:9: error: 'span' was not declared in this scope
   15 |        <span style="white-space:pre;">  </span>//初始化数组元素为零
      |         ^~~~
0_0_39888897_12993.cpp:27:14: error: 'len' was not declared in this scope; did you mean 'len2'?
   27 |         for( len=0;len<max;len++){
      |              ^~~
      |              len2
0_0_39888897_12993.cpp:35:13: error: 'l' was not declared in this scope
   35 |         for(l=len;l<max;l++){
      |             ^
0_0_39888897_12993.cpp:35:15: error: 'len' was not declared in this scope; did you mean 'len2'?
   35 |         for(l=len;l<max;l++){
      |               ^~~
      |               len2
0_0_39888897_12993.cpp:50:19: error: 'l' was not declared in this scope
   50 |         for(int x=l-1;x>=0;x--)
      |                   ^


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-12-24 07:22:40, Gzip enabled