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_24307478_16070.c: In function 'main':
0_0_24307478_16070.c:4:12: error: expected expression before '/' token
 int main(){//Çî¾Ù·¨ 
            ^
0_0_24307478_16070.c:4:12: error: stray '\307' in program
0_0_24307478_16070.c:4:12: error: stray '\356' in program
0_0_24307478_16070.c:4:12: error: stray '\276' in program
0_0_24307478_16070.c:4:12: error: stray '\331' in program
0_0_24307478_16070.c:4:12: error: stray '\267' in program
0_0_24307478_16070.c:4:12: error: stray '\250' in program
0_0_24307478_16070.c:6:14: error: 'T' undeclared (first use in this function)
  scanf("%d",&T);
              ^
0_0_24307478_16070.c:6:14: note: each undeclared identifier is reported only once for each function it appears in
0_0_24307478_16070.c:7:8: error: 'i' undeclared (first use in this function)
  while(i<=T){
        ^
0_0_24307478_16070.c:8:15: error: 'n' undeclared (first use in this function)
   scanf("%d",&n);
               ^
0_0_24307478_16070.c:9:7: error: 'j' undeclared (first use in this function)
   for(j=1;j<=n;j++){
       ^
0_0_24307478_16070.c:10:15: error: 'a' undeclared (first use in this function)
    scanf("%d",a+j);
               ^
0_0_24307478_16070.c:12:3: error: 'max' undeclared (first use in this function)
   max=INT_MIN;
   ^
0_0_24307478_16070.c:13:7: error: 's' undeclared (first use in this function)
   for(s=1;s<=n;s++){
       ^
0_0_24307478_16070.c:14:8: error: 'e' undeclared (first use in this function)
    for(e=s+1;e<=n;e++){
        ^
0_0_24307478_16070.c:15:5: error: 'sum' undeclared (first use in this function)
     sum=0;
     ^
0_0_24307478_16070.c:20:14: error: 'ps' undeclared (first use in this function)
      max=sum;ps=s;pe=e;
              ^
0_0_24307478_16070.c:20:19: error: 'pe' undeclared (first use in this function)
      max=sum;ps=s;pe=e;
                   ^


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-09-28 12:18:49, Gzip enabled