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_18065821_10836.cpp: In function 'void fft(int*, int, int)':
0_0_18065821_10836.cpp:12:45: error: expected primary-expression before ')' token
     for (int i = (n>>1), j = 1; j<n; j +  + ){
                                             ^
0_0_18065821_10836.cpp:15:34: error: expected primary-expression before '=' token
         for (k = (n>>1); i&k; i^ = k, k>> = 1);  i^ = k; 
                                  ^
0_0_18065821_10836.cpp:15:43: error: expected primary-expression before '=' token
         for (k = (n>>1); i&k; i^ = k, k>> = 1);  i^ = k; 
                                           ^
0_0_18065821_10836.cpp:15:53: error: expected primary-expression before '=' token
         for (k = (n>>1); i&k; i^ = k, k>> = 1);  i^ = k; 
                                                     ^
0_0_18065821_10836.cpp:18:24: error: expected primary-expression before '=' token
     for (int m = 2; m< = n; m<< = 1){
                        ^
0_0_18065821_10836.cpp:18:33: error: expected primary-expression before '=' token
     for (int m = 2; m< = n; m<< = 1){
                                 ^
0_0_18065821_10836.cpp:19:26: error: expected primary-expression before ';' token
         int w;  now +  + ;  if (fl =  = 1) w = G[now];  else w = nG[now]; 
                          ^
0_0_18065821_10836.cpp:19:39: error: expected primary-expression before '=' token
         int w;  now +  + ;  if (fl =  = 1) w = G[now];  else w = nG[now]; 
                                       ^
0_0_18065821_10836.cpp:20:35: error: expected primary-expression before '=' token
         for (int i = 0; i<n; i +  = m){
                                   ^
0_0_18065821_10836.cpp:22:50: error: expected primary-expression before ')' token
             for (int j = i; j<i + (m>>1); j +  + ){
                                                  ^
0_0_18065821_10836.cpp: In function 'int quick(int, int)':
0_0_18065821_10836.cpp:34:8: error: expected primary-expression before '=' token
   k2>> = 1;  k1 = 1ll*k1*k1%mo; 
        ^
0_0_18065821_10836.cpp: In function 'int main()':
0_0_18065821_10836.cpp:42:21: error: expected primary-expression before '=' token
     while (now%2 =  = 0){
                     ^
0_0_18065821_10836.cpp:43:18: error: expected primary-expression before ';' token
         len +  + ;  G[len] = quick(g, now);  nG[len] = quick(ng, now);  two[len] = quick(1<<len, mo-2);  now>> = 1; 
                  ^
0_0_18065821_10836.cpp:43:112: error: expected primary-expression before '=' token
         len +  + ;  G[len] = quick(g, now);  nG[len] = quick(ng, now);  two[len] = quick(1<<len, mo-2);  now>> = 1; 
                                                                                                                ^
0_0_18065821_10836.cpp:46:21: error: expected primary-expression before '=' token
  for (int i = 1; i< = N; i +  + ) I[i] = 1ll*I[i-1]*i%mo; 
                     ^
0_0_18065821_10836.cpp:46:33: error: expected primary-expression before ')' token
  for (int i = 1; i< = N; i +  + ) I[i] = 1ll*I[i-1]*i%mo; 
                                 ^
0_0_18065821_10836.cpp:47:21: error: expected primary-expression before '=' token
  for (int i = 0; i< = N; i +  + ) nI[i] = quick(I[i], mo-2); 
                     ^
0_0_18065821_10836.cpp:47:33: error: expected primary-expression before ')' token
  for (int i = 0; i< = N; i +  + ) nI[i] = quick(I[i], mo-2); 
                                 ^
0_0_18065821_10836.cpp:48:21: error: expected primary-expression before '=' token
  for (int i = 1; i< = N; i +  + ) tw[i] = 2*tw[i-1]%mo; 
                     ^
0_0_18065821_10836.cpp:48:33: error: expected primary-expression before ')' token
  for (int i = 1; i< = N; i +  + ) tw[i] = 2*tw[i-1]%mo; 
                                 ^
0_0_18065821_10836.cpp:51:22: error: expected primary-expression before '=' token
   for (int i = 1; i< = n; i +  + ) scanf("%d", &x[i]); 
                      ^
0_0_18065821_10836.cpp:51:34: error: expected primary-expression before ')' token
   for (int i = 1; i< = n; i +  + ) scanf("%d", &x[i]); 
                                  ^
0_0_18065821_10836.cpp:53:50: error: expected primary-expression before ';' token
   len = 0;  while ((1<<len)<(n + 1<<1)) len +  + ; 
                                                  ^
0_0_18065821_10836.cpp:54:38: error: expected primary-expression before ')' token
   for (int i = 0; i<(1<<len); i +  + ) A[i] = 0, B[i] = 0; 
                                      ^
0_0_18065821_10836.cpp:55:22: error: expected primary-expression before '=' token
   for (int i = 1; i< = n; i +  + ) A[i] = 1ll*I[n-i]*tw[i-1]%mo*x[i]%mo; 
                      ^
0_0_18065821_10836.cpp:55:34: error: expected primary-expression before ')' token
   for (int i = 1; i< = n; i +  + ) A[i] = 1ll*I[n-i]*tw[i-1]%mo*x[i]%mo; 
                                  ^
0_0_18065821_10836.cpp:56:22: error: expected primary-expression before '=' token
   for (int i = 0; i< = n; i +  + ) B[i] = nI[i]; 
                      ^
0_0_18065821_10836.cpp:56:34: error: expected primary-expression before ')' token
   for (int i = 0; i< = n; i +  + ) B[i] = nI[i]; 
                                  ^
0_0_18065821_10836.cpp:58:38: error: expected primary-expression before ')' token
   for (int i = 0; i<(1<<len); i +  + ) A[i] = 1ll*A[i]*B[i]%mo; 
                                      ^
0_0_18065821_10836.cpp:60:22: error: expected primary-expression before '=' token
   for (int i = 1; i< = n; i +  + ) ans[i] = (1ll*nI[i-1]*A[n-i + 1]%mo*two[len]%mo + mo)%mo; 
                      ^
0_0_18065821_10836.cpp:60:34: error: expected primary-expression before ')' token
   for (int i = 1; i< = n; i +  + ) ans[i] = (1ll*nI[i-1]*A[n-i + 1]%mo*two[len]%mo + mo)%mo; 
                                  ^
0_0_18065821_10836.cpp:61:22: error: expected primary-expression before '=' token
   for (int i = 1; i< = n; i +  + ) ans[i] = (ans[i-1] + ans[i])%mo; 
                      ^
0_0_18065821_10836.cpp:61:34: error: expected primary-expression before ')' token
   for (int i = 1; i< = n; i +  + ) ans[i] = (ans[i-1] + ans[i])%mo; 
                                  ^
0_0_18065821_10836.cpp:62:22: error: expected primary-expression before '=' token
   for (int i = 1; i< = n; i +  + ) printf("%d ", ans[i]); 
                      ^
0_0_18065821_10836.cpp:62:34: error: expected primary-expression before ')' token
   for (int i = 1; i< = n; i +  + ) printf("%d ", ans[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-17 21:26:28, Gzip enabled