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_24308126_28085.c:7:9: error: expected ':', ',', ';', '}' or '__attribute__' before '=' token
  int sum=INT_MIN;
         ^
0_0_24308126_28085.c: In function 'maxsubsum':
0_0_24308126_28085.c:15:4: error: 'MAX' has no member named 'sum'
   m.sum=a[s];
    ^
0_0_24308126_28085.c:26:15: error: 'MAX' has no member named 'sum'
   if(sum>=lrml.sum){
               ^
0_0_24308126_28085.c:27:8: error: 'MAX' has no member named 'sum'
    lrml.sum=sum;lrml.ps=i;lrml.pe=c;
        ^
0_0_24308126_28085.c:33:14: error: 'MAX' has no member named 'sum'
   if(sum>lrmr.sum){
              ^
0_0_24308126_28085.c:34:8: error: 'MAX' has no member named 'sum'
    lrmr.sum=sum;lrmr.ps=i;lrmr.pe=c;
        ^
0_0_24308126_28085.c:37:35: error: 'MAX' has no member named 'sum'
  lrm.ps=lrml.ps;lrm.pe=lrmr.ps;lrm.sum=lrml.sum+lrmr.sum;
                                   ^
0_0_24308126_28085.c:37:44: error: 'MAX' has no member named 'sum'
  lrm.ps=lrml.ps;lrm.pe=lrmr.ps;lrm.sum=lrml.sum+lrmr.sum;
                                            ^
0_0_24308126_28085.c:37:53: error: 'MAX' has no member named 'sum'
  lrm.ps=lrml.ps;lrm.pe=lrmr.ps;lrm.sum=lrml.sum+lrmr.sum;
                                                     ^
0_0_24308126_28085.c:38:6: error: 'MAX' has no member named 'sum'
  m=lm.sum>rm.sum?lm.sum>lrm.sum?lm:lrm:rm.sum>lrm.sum?rm:lrm;
      ^
0_0_24308126_28085.c:38:13: error: 'MAX' has no member named 'sum'
  m=lm.sum>rm.sum?lm.sum>lrm.sum?lm:lrm:rm.sum>lrm.sum?rm:lrm;
             ^
0_0_24308126_28085.c:38:20: error: 'MAX' has no member named 'sum'
  m=lm.sum>rm.sum?lm.sum>lrm.sum?lm:lrm:rm.sum>lrm.sum?rm:lrm;
                    ^
0_0_24308126_28085.c:38:28: error: 'MAX' has no member named 'sum'
  m=lm.sum>rm.sum?lm.sum>lrm.sum?lm:lrm:rm.sum>lrm.sum?rm:lrm;
                            ^
0_0_24308126_28085.c:38:42: error: 'MAX' has no member named 'sum'
  m=lm.sum>rm.sum?lm.sum>lrm.sum?lm:lrm:rm.sum>lrm.sum?rm:lrm;
                                          ^
0_0_24308126_28085.c:38:50: error: 'MAX' has no member named 'sum'
  m=lm.sum>rm.sum?lm.sum>lrm.sum?lm:lrm:rm.sum>lrm.sum?rm:lrm;
                                                  ^
0_0_24308126_28085.c: In function 'main':
0_0_24308126_28085.c:52:24: error: 'MAX' has no member named 'sum'
   printf("%d %d %d\n",m.sum,m.ps,m.pe);
                        ^


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-16 13:08:37, Gzip enabled