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_21849585_1062.cpp:7:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21849585_1062.cpp:11:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21849585_1062.cpp:15:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21849585_1062.cpp: In function 'void solve(int)':
0_0_21849585_1062.cpp:18:2: error: 'nbsp' was not declared in this scope
     p[0] = 1;
  ^
0_0_21849585_1062.cpp:22:53: error: 'i' was not declared in this scope
         if (i<index + p[index])
                                                     ^
0_0_21849585_1062.cpp:24:75: error: 'i' was not declared in this scope
             p[i] = min(p[index] - i + index, p[2 * index - i]);
                                                                           ^
0_0_21849585_1062.cpp:26:49: error: 'else' without a previous 'if'
         else p[i] = 1;
                                                 ^
0_0_21849585_1062.cpp:26:56: error: 'i' was not declared in this scope
         else p[i] = 1;
                                                        ^
0_0_21849585_1062.cpp: At global scope:
0_0_21849585_1062.cpp:32:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21849585_1062.cpp:33:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_21849585_1062.cpp: In function 'int main()':
0_0_21849585_1062.cpp:36:2: error: 'nbsp' was not declared in this scope
     int t;
  ^
0_0_21849585_1062.cpp:46:103: error: 'i' was not declared in this scope
                 A[2 * i + 1] = '#';
                                                                                                       ^
0_0_21849585_1062.cpp:59:132: error: 'i' was not declared in this scope
                     int a = ll[i];
                                                                                                                                    ^
0_0_21849585_1062.cpp:60:132: error: 'j' was not declared in this scope
                     int b = rr[j];
                                                                                                                                    ^
0_0_21849585_1062.cpp:61:131: error: continue statement not within a loop
                     if (a > b)continue;
                                                                                                                                   ^
0_0_21849585_1062.cpp:66:145: error: break statement not within loop or switch
                         break;
                                                                                                                                                 ^
0_0_21849585_1062.cpp:75:73: error: 'else' without a previous 'if'
             else
                                                                         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001001(s) query 1, Server time : 2025-02-17 12:10:34, Gzip enabled