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_29492610_21779.cpp:153:1: error: stray '\241' in program
 →___→我才不会说大力出奇迹,现场暴力爬树链跑得比标算快多了
 ^
0_0_29492610_21779.cpp:153:1: error: stray '\372' in program
0_0_29492610_21779.cpp:153:1: error: stray '\241' in program
0_0_29492610_21779.cpp:153:1: error: stray '\372' in program
0_0_29492610_21779.cpp:153:1: error: stray '\316' in program
0_0_29492610_21779.cpp:153:1: error: stray '\322' in program
0_0_29492610_21779.cpp:153:1: error: stray '\262' in program
0_0_29492610_21779.cpp:153:1: error: stray '\305' in program
0_0_29492610_21779.cpp:153:1: error: stray '\262' in program
0_0_29492610_21779.cpp:153:1: error: stray '\273' in program
0_0_29492610_21779.cpp:153:1: error: stray '\273' in program
0_0_29492610_21779.cpp:153:1: error: stray '\341' in program
0_0_29492610_21779.cpp:153:1: error: stray '\313' in program
0_0_29492610_21779.cpp:153:1: error: stray '\265' in program
0_0_29492610_21779.cpp:153:1: error: stray '\264' in program
0_0_29492610_21779.cpp:153:1: error: stray '\363' in program
0_0_29492610_21779.cpp:153:1: error: stray '\301' in program
0_0_29492610_21779.cpp:153:1: error: stray '\246' in program
0_0_29492610_21779.cpp:153:1: error: stray '\263' in program
0_0_29492610_21779.cpp:153:1: error: stray '\366' in program
0_0_29492610_21779.cpp:153:1: error: stray '\306' in program
0_0_29492610_21779.cpp:153:1: error: stray '\346' in program
0_0_29492610_21779.cpp:153:1: error: stray '\274' in program
0_0_29492610_21779.cpp:153:1: error: stray '\243' in program
0_0_29492610_21779.cpp:153:1: error: stray '\243' in program
0_0_29492610_21779.cpp:153:1: error: stray '\254' in program
0_0_29492610_21779.cpp:153:1: error: stray '\317' in program
0_0_29492610_21779.cpp:153:1: error: stray '\326' in program
0_0_29492610_21779.cpp:153:1: error: stray '\263' in program
0_0_29492610_21779.cpp:153:1: error: stray '\241' in program
0_0_29492610_21779.cpp:153:1: error: stray '\261' in program
0_0_29492610_21779.cpp:153:1: error: stray '\251' in program
0_0_29492610_21779.cpp:153:1: error: stray '\301' in program
0_0_29492610_21779.cpp:153:1: error: stray '\246' in program
0_0_29492610_21779.cpp:153:1: error: stray '\305' in program
0_0_29492610_21779.cpp:153:1: error: stray '\300' in program
0_0_29492610_21779.cpp:153:1: error: stray '\312' in program
0_0_29492610_21779.cpp:153:1: error: stray '\367' in program
0_0_29492610_21779.cpp:153:1: error: stray '\301' in program
0_0_29492610_21779.cpp:153:1: error: stray '\264' in program
0_0_29492610_21779.cpp:153:1: error: stray '\305' in program
0_0_29492610_21779.cpp:153:1: error: stray '\334' in program
0_0_29492610_21779.cpp:153:1: error: stray '\265' in program
0_0_29492610_21779.cpp:153:1: error: stray '\303' in program
0_0_29492610_21779.cpp:153:1: error: stray '\261' in program
0_0_29492610_21779.cpp:153:1: error: stray '\310' in program
0_0_29492610_21779.cpp:153:1: error: stray '\261' in program
0_0_29492610_21779.cpp:153:1: error: stray '\352' in program
0_0_29492610_21779.cpp:153:1: error: stray '\313' in program
0_0_29492610_21779.cpp:153:1: error: stray '\343' in program
0_0_29492610_21779.cpp:153:1: error: stray '\277' in program
0_0_29492610_21779.cpp:153:1: error: stray '\354' in program
0_0_29492610_21779.cpp:153:1: error: stray '\266' in program
0_0_29492610_21779.cpp:153:1: error: stray '\340' in program
0_0_29492610_21779.cpp:153:1: error: stray '\301' in program
0_0_29492610_21779.cpp:153:1: error: stray '\313' in program
0_0_29492610_21779.cpp:195:1: error: missing terminating " character
 while ( ~ scanf ( "%d%d%2
 ^
0_0_29492610_21779.cpp:7:20: error: expected ',' or ';' before 'e5'
 const int maxn = 1 e5 + 5 ; 
                    ^
0_0_29492610_21779.cpp: In function 'void add(int, int)':
0_0_29492610_21779.cpp:42:20: error: expected primary-expression before ';' token
 st [ x ] = cnt + + ; 
                    ^
0_0_29492610_21779.cpp: In function 'void dfs(int, int)':
0_0_29492610_21779.cpp:56:14: error: expected primary-expression before '=' token
 size [ u ] + = size [ y ] ; 
              ^
0_0_29492610_21779.cpp: In function 'void update(int, LL)':
0_0_29492610_21779.cpp:76:22: error: expected primary-expression before '=' token
 for ( ; x <= n ; x + = x & - x ) T [ x ] + = val ; 
                      ^
0_0_29492610_21779.cpp:76:44: error: expected primary-expression before '=' token
 for ( ; x <= n ; x + = x & - x ) T [ x ] + = val ; 
                                            ^
0_0_29492610_21779.cpp: In function 'LL get(int)':
0_0_29492610_21779.cpp:82:17: error: expected primary-expression before '=' token
 for ( ; x ; x - = x & - x ) res + = T [ x ] ; 
                 ^
0_0_29492610_21779.cpp:82:35: error: expected primary-expression before '=' token
 for ( ; x ; x - = x & - x ) res + = T [ x ] ; 
                                   ^
0_0_29492610_21779.cpp: In function 'LL quiry(int, int)':
0_0_29492610_21779.cpp:93:7: error: expected primary-expression before '=' token
 ans + = get ( id [ u ] ) - get ( id [ x ] - 1 ) ; 
       ^
0_0_29492610_21779.cpp:97:10: error: expected primary-expression before '=' token
 if ( u = = v ) return ans + get ( id [ u ] ) - get ( id [ u ] - 1 ) ; 
          ^
0_0_29492610_21779.cpp:99:7: error: expected primary-expression before '=' token
 ans + = get ( id [ u ] ) - get ( id [ v ] - 1 ) ; 
       ^
0_0_29492610_21779.cpp: In function 'int main()':
0_0_29492610_21779.cpp:142:7: error: expected primary-expression before ';' token
 L + + ; 
       ^
0_0_29492610_21779.cpp:144:24: error: expected primary-expression before '=' token
 ans [ Q [ i ] . id ] + = ( LL ) Q [ i ] . ty * quiry ( Q [ i ] . u , Q [ i ] . v ) ; 
                        ^
0_0_29492610_21779.cpp: At global scope:
0_0_29492610_21779.cpp:153:3: error: '___' does not name a type
 →___→我才不会说大力出奇迹,现场暴力爬树链跑得比标算快多了
   ^
0_0_29492610_21779.cpp:163:19: error: conflicting declaration 'int fa [100010][20]'
 int fa [ N ] [ 20 ] , h [ N ] , w [ N ] ; 
                   ^
0_0_29492610_21779.cpp:9:5: note: previous declaration as 'int fa [1]'
 int fa [ maxn ] , st [ maxn ] , dep [ maxn ] ; 
     ^
0_0_29492610_21779.cpp:163:39: error: conflicting declaration 'int w [100010]'
 int fa [ N ] [ 20 ] , h [ N ] , w [ N ] ; 
                                       ^
0_0_29492610_21779.cpp:22:2: note: previous declaration as 'Lv w [1]'
 }w [ maxn ] ; 
  ^
0_0_29492610_21779.cpp:164:5: error: redefinition of 'int n'
 int n , Q , m , k , a , b ; 
     ^
0_0_29492610_21779.cpp:8:5: note: 'int n' previously declared here
 int n , m , start , end , cnt , k , index , opt ; 
     ^
0_0_29492610_21779.cpp:164:9: error: conflicting declaration 'int Q'
 int n , Q , m , k , a , b ; 
         ^
0_0_29492610_21779.cpp:27:2: note: previous declaration as 'Quiry Q [2]'
 }Q [ maxn * 2 ] ; 
  ^
0_0_29492610_21779.cpp:164:13: error: redefinition of 'int m'
 int n , Q , m , k , a , b ; 
             ^
0_0_29492610_21779.cpp:8:9: note: 'int m' previously declared here
 int n , m , start , end , cnt , k , index , opt ; 
         ^
0_0_29492610_21779.cpp:164:17: error: redefinition of 'int k'
 int n , Q , m , k , a , b ; 
                 ^
0_0_29492610_21779.cpp:8:33: note: 'int k' previously declared here
 int n , m , start , end , cnt , k , index , opt ; 
                                 ^
0_0_29492610_21779.cpp:164:21: error: redefinition of 'int a'
 int n , Q , m , k , a , b ; 
                     ^
0_0_29492610_21779.cpp:12:5: note: 'int a' previously declared here
 int a , b , x , y , z ; 
     ^
0_0_29492610_21779.cpp:164:25: error: redefinition of 'int b'
 int n , Q , m , k , a , b ; 
                         ^
0_0_29492610_21779.cpp:12:9: note: 'int b' previously declared here
 int a , b , x , y , z ; 
         ^
0_0_29492610_21779.cpp: In function 'void dfs(int, int)':
0_0_29492610_21779.cpp:166:6: error: redefinition of 'void dfs(int, int)'
 void dfs ( int x , int p ) 
      ^
0_0_29492610_21779.cpp:45:13: note: 'void dfs(int, int)' previously defined here
 inline void dfs ( int u , int f ) 
             ^
0_0_29492610_21779.cpp:169:14: error: invalid types 'int[int]' for array subscript
 fa [ x ] [ 0 ] = p ; 
              ^
0_0_29492610_21779.cpp:170:49: error: invalid types 'int[int]' for array subscript
 for ( int i = 1 ; i < 20 ; + + i ) fa [ x ] [ i ] = fa [ fa [ x ] [ i - 1 ] ] [ i - 1 ] ; 
                                                 ^
0_0_29492610_21779.cpp:170:75: error: invalid types 'int[int]' for array subscript
 for ( int i = 1 ; i < 20 ; + + i ) fa [ x ] [ i ] = fa [ fa [ x ] [ i - 1 ] ] [ i - 1 ] ; 
                                                                           ^
0_0_29492610_21779.cpp:175:10: error: expected primary-expression before '=' token
 if ( y = = p ) continue ; 
          ^
0_0_29492610_21779.cpp: In function 'int lca(int, int)':
0_0_29492610_21779.cpp:184:40: error: invalid types 'int[int]' for array subscript
 if ( ( d >> i ) & 1 ) x = fa [ x ] [ i ] ; 
                                        ^
0_0_29492610_21779.cpp:185:10: error: expected primary-expression before '=' token
 if ( x = = y ) return x ; 
          ^
0_0_29492610_21779.cpp:187:19: error: invalid types 'int[int]' for array subscript
 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-09-28 00:12:09, Gzip enabled