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_17664291_24698.cpp: In function 'void cdqfz(int, int)':
0_0_17664291_24698.cpp:73:3: error: 'F' was not declared in this scope
   F[l] = ( F[l] + w[l] ) % P ;
   ^
0_0_17664291_24698.cpp:73:3: note: suggested alternative:
0_0_17664291_24698.cpp:30:33: note:   'FFT::F'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
                                 ^
0_0_17664291_24698.cpp:73:19: error: 'w' was not declared in this scope
   F[l] = ( F[l] + w[l] ) % P ;
                   ^
0_0_17664291_24698.cpp:73:19: note: suggested alternative:
0_0_17664291_24698.cpp:30:5: note:   'FFT::w'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
     ^
0_0_17664291_24698.cpp:80:42: error: 'a' was not declared in this scope
  for ( int i = 0 ; i <= mid - l ; ++ i ) a[i] = F[i + l] ;
                                          ^
0_0_17664291_24698.cpp:80:42: note: suggested alternative:
0_0_17664291_24698.cpp:30:12: note:   'FFT::a'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
            ^
0_0_17664291_24698.cpp:80:49: error: 'F' was not declared in this scope
  for ( int i = 0 ; i <= mid - l ; ++ i ) a[i] = F[i + l] ;
                                                 ^
0_0_17664291_24698.cpp:80:49: note: suggested alternative:
0_0_17664291_24698.cpp:30:33: note:   'FFT::F'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
                                 ^
0_0_17664291_24698.cpp:81:45: error: 'a' was not declared in this scope
  for ( int i = mid - l + 1 ; i < N ; ++ i ) a[i] = 0 ;
                                             ^
0_0_17664291_24698.cpp:81:45: note: suggested alternative:
0_0_17664291_24698.cpp:30:12: note:   'FFT::a'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
            ^
0_0_17664291_24698.cpp:82:39: error: 'b' was not declared in this scope
  for ( int i = 0 ; i < r - l ; ++ i ) b[i] = w[i + 1] ;
                                       ^
0_0_17664291_24698.cpp:82:39: note: suggested alternative:
0_0_17664291_24698.cpp:30:19: note:   'FFT::b'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
                   ^
0_0_17664291_24698.cpp:82:46: error: 'w' was not declared in this scope
  for ( int i = 0 ; i < r - l ; ++ i ) b[i] = w[i + 1] ;
                                              ^
0_0_17664291_24698.cpp:82:46: note: suggested alternative:
0_0_17664291_24698.cpp:30:5: note:   'FFT::w'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
     ^
0_0_17664291_24698.cpp:83:39: error: 'b' was not declared in this scope
  for ( int i = r - l ; i < N ; ++ i ) b[i] = 0 ;
                                       ^
0_0_17664291_24698.cpp:83:39: note: suggested alternative:
0_0_17664291_24698.cpp:30:19: note:   'FFT::b'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
                   ^
0_0_17664291_24698.cpp:84:13: error: 'a' was not declared in this scope
  FFT::mul ( a , b , c , N ) ;
             ^
0_0_17664291_24698.cpp:84:13: note: suggested alternative:
0_0_17664291_24698.cpp:30:12: note:   'FFT::a'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
            ^
0_0_17664291_24698.cpp:84:17: error: 'b' was not declared in this scope
  FFT::mul ( a , b , c , N ) ;
                 ^
0_0_17664291_24698.cpp:84:17: note: suggested alternative:
0_0_17664291_24698.cpp:30:19: note:   'FFT::b'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
                   ^
0_0_17664291_24698.cpp:84:21: error: 'c' was not declared in this scope
  FFT::mul ( a , b , c , N ) ;
                     ^
0_0_17664291_24698.cpp:84:21: note: suggested alternative:
0_0_17664291_24698.cpp:30:26: note:   'FFT::c'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
                          ^
0_0_17664291_24698.cpp:85:42: error: 'F' was not declared in this scope
  for ( int i = mid + 1 ; i <= r ; ++ i ) F[i] = ( F[i] + c[i - l - 1] ) % P ;
                                          ^
0_0_17664291_24698.cpp:85:42: note: suggested alternative:
0_0_17664291_24698.cpp:30:33: note:   'FFT::F'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
                                 ^
0_0_17664291_24698.cpp: In function 'void solve()':
0_0_17664291_24698.cpp:89:2: error: 'F' was not declared in this scope
  F[0] = 1 ;
  ^
0_0_17664291_24698.cpp:89:2: note: suggested alternative:
0_0_17664291_24698.cpp:30:33: note:   'FFT::F'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
                                 ^
0_0_17664291_24698.cpp:91:19: error: 'w' was not declared in this scope
   scanf ( "%d" , &w[i] ) ;
                   ^
0_0_17664291_24698.cpp:91:19: note: suggested alternative:
0_0_17664291_24698.cpp:30:5: note:   'FFT::w'
 int w[N] , a[N] , b[N] , c[N] , F[N] ;
     ^


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-22 23:53:52, Gzip enabled