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_33854958_12924.cpp: In function 'int main()':
0_0_33854958_12924.cpp:92:12: error: 'l' was not declared in this scope
     while (l < r) {
            ^
0_0_33854958_12924.cpp:95:29: error: 'si' was not declared in this scope
       if (res != -1) l = m, si = res;
                             ^
0_0_33854958_12924.cpp:96:14: error: incompatible types in assignment of 'int' to 'int [1608006]'
       else r = m-1;
              ^
0_0_33854958_12924.cpp:98:9: error: 'l' was not declared in this scope
     if (l) {
         ^
0_0_33854958_12924.cpp:99:46: error: 'si' was not declared in this scope
       for (int i = 0; i < l; i ++) putchar(s[si+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-30 01:13:34, Gzip enabled