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_37417575_4698.cpp: In function 'int main()':
0_0_37417575_4698.cpp:9:6: error: 'intd' was not declared in this scope
      intd[10],s[10];
      ^
0_0_37417575_4698.cpp:9:15: error: 's' was not declared in this scope
      intd[10],s[10];
               ^
0_0_37417575_4698.cpp:11:6: error: 'intlen' was not declared in this scope
      intlen,i,j,w;
      ^
0_0_37417575_4698.cpp:11:13: error: 'i' was not declared in this scope
      intlen,i,j,w;
             ^
0_0_37417575_4698.cpp:11:15: error: 'j' was not declared in this scope
      intlen,i,j,w;
               ^
0_0_37417575_4698.cpp:11:17: error: 'w' was not declared in this scope
      intlen,i,j,w;
                 ^
0_0_37417575_4698.cpp:13:24: error: 'len' was not declared in this scope
      while(scanf("%d",&len),len)
                        ^
0_0_37417575_4698.cpp:17:40: error: 'd' was not declared in this scope
           for(i=0;i<len;i++)scanf("%d",d+i);
                                        ^
0_0_37417575_4698.cpp:27:35: error: 'd' was not declared in this scope
                for(j=0;j<i;j++)if(d[j]<d[i])
                                   ^
0_0_37417575_4698.cpp:47:6: error: 'return0' was not declared in this scope
      return0;
      ^


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-03 05:06:37, Gzip enabled