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_35643489_11988.cpp: In function 'int main()':
0_0_35643489_11988.cpp:50:22: error: 'qi' was not declared in this scope
    if(hh<=tt2&&i-m+1>qi[hh])++hh;
                      ^
0_0_35643489_11988.cpp:51:21: error: 'qi' was not declared in this scope
    while(hh<=tt2&&s[qi[tt2]]<=s[i])--tt2;
                     ^
0_0_35643489_11988.cpp:52:4: error: 'qi' was not declared in this scope
    qi[++tt2]=i;
    ^
0_0_35643489_11988.cpp:54:5: error: 'maxIdx' was not declared in this scope
     maxIdx[++cnt]=qi[hh];
     ^
0_0_35643489_11988.cpp:62:16: error: 'qi' was not declared in this scope
    while(tt&&s[qi[tt]]<=s[i])--tt;
                ^
0_0_35643489_11988.cpp:63:11: error: 'f' was not declared in this scope
    if(!tt)f[i]=1;
           ^
0_0_35643489_11988.cpp:64:9: error: 'f' was not declared in this scope
    else f[i]=f[qi[tt]]+1;
         ^
0_0_35643489_11988.cpp:64:16: error: 'qi' was not declared in this scope
    else f[i]=f[qi[tt]]+1;
                ^
0_0_35643489_11988.cpp:65:4: error: 'qi' was not declared in this scope
    qi[++tt]=i;
    ^
0_0_35643489_11988.cpp:69:9: error: 'f' was not declared in this scope
    B+=((f[i-1]-f[maxIdx[i]]+1)^i);
         ^
0_0_35643489_11988.cpp:69:18: error: 'maxIdx' was not declared in this scope
    B+=((f[i-1]-f[maxIdx[i]]+1)^i);
                  ^


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 18:04:22, Gzip enabled