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_29861192_29429.cpp: In function 'bool check(int, int, int)':
0_0_29861192_29429.cpp:11:12: error: 'sum' was not declared in this scope
     int uu=sum[ed][num]-sum[st-1][num]+hh[num];
            ^
0_0_29861192_29429.cpp:11:40: error: 'hh' was not declared in this scope
     int uu=sum[ed][num]-sum[st-1][num]+hh[num];
                                        ^
0_0_29861192_29429.cpp:12:12: error: 'a' was not declared in this scope
     if(uu>=a[num].x) return true;
            ^
0_0_29861192_29429.cpp: In function 'int main()':
0_0_29861192_29429.cpp:25:25: error: request for member 'size' in 's', which is of non-class type 'char [100007]'
         for(int i=1;i<s.size();i++)
                         ^
0_0_29861192_29429.cpp:48:39: error: request for member 'size' in 's', which is of non-class type 'char [100007]'
                     if(!check(pos+1,s.size(),t)) flag = 0;
                                       ^
0_0_29861192_29429.cpp:55:26: error: request for member 'size' in 's', which is of non-class type 'char [100007]'
         sum += min(cnt[s.size()-1][t]-cnt[pos][t], r[t] - used[t]);
                          ^


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-27 15:06:45, Gzip enabled