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_36459404_19095.cpp:89:7: error: 'maxn' was not declared in this scope
 int a[maxn], b[maxn], g[maxn], f[maxn], fs[maxn];
       ^
0_0_36459404_19095.cpp:89:16: error: 'maxn' was not declared in this scope
 int a[maxn], b[maxn], g[maxn], f[maxn], fs[maxn];
                ^
0_0_36459404_19095.cpp:89:25: error: 'maxn' was not declared in this scope
 int a[maxn], b[maxn], g[maxn], f[maxn], fs[maxn];
                         ^
0_0_36459404_19095.cpp:89:34: error: 'maxn' was not declared in this scope
 int a[maxn], b[maxn], g[maxn], f[maxn], fs[maxn];
                                  ^
0_0_36459404_19095.cpp:89:44: error: 'maxn' was not declared in this scope
 int a[maxn], b[maxn], g[maxn], f[maxn], fs[maxn];
                                            ^
0_0_36459404_19095.cpp:90:9: error: 'maxn' was not declared in this scope
 int pre[maxn];
         ^
0_0_36459404_19095.cpp:91:9: error: 'maxn' was not declared in this scope
 int ans[maxn];
         ^
0_0_36459404_19095.cpp: In function 'int main()':
0_0_36459404_19095.cpp:102:16: error: 'f' was not declared in this scope
         memset(f, 0, sizeof f);
                ^
0_0_36459404_19095.cpp:104:62: error: 'a' was not declared in this scope
             for (int i = 0;i < n;i++) { if (sa[i] != '0' + j)a[i] = 0;else a[i] = 1; }
                                                              ^
0_0_36459404_19095.cpp:104:62: note: suggested alternative:
0_0_36459404_19095.cpp:29:6: note:   'fft::a'
     }a[N], b[N];
      ^
0_0_36459404_19095.cpp:104:76: error: 'a' was not declared in this scope
             for (int i = 0;i < n;i++) { if (sa[i] != '0' + j)a[i] = 0;else a[i] = 1; }
                                                                            ^
0_0_36459404_19095.cpp:104:76: note: suggested alternative:
0_0_36459404_19095.cpp:29:6: note:   'fft::a'
     }a[N], b[N];
      ^
0_0_36459404_19095.cpp:105:62: error: 'b' was not declared in this scope
             for (int i = 0;i < m;i++) { if (sb[i] != '0' + j)b[m - i - 1] = 0;else b[m - i - 1] = 1; }
                                                              ^
0_0_36459404_19095.cpp:105:62: note: suggested alternative:
0_0_36459404_19095.cpp:29:12: note:   'fft::b'
     }a[N], b[N];
            ^
0_0_36459404_19095.cpp:105:84: error: 'b' was not declared in this scope
             for (int i = 0;i < m;i++) { if (sb[i] != '0' + j)b[m - i - 1] = 0;else b[m - i - 1] = 1; }
                                                                                    ^
0_0_36459404_19095.cpp:105:84: note: suggested alternative:
0_0_36459404_19095.cpp:29:12: note:   'fft::b'
     }a[N], b[N];
            ^
0_0_36459404_19095.cpp:106:22: error: 'g' was not declared in this scope
             fft::FFT(g, a, n - 1, b, m - 1);
                      ^
0_0_36459404_19095.cpp:106:25: error: 'a' was not declared in this scope
             fft::FFT(g, a, n - 1, b, m - 1);
                         ^
0_0_36459404_19095.cpp:106:25: note: suggested alternative:
0_0_36459404_19095.cpp:29:6: note:   'fft::a'
     }a[N], b[N];
      ^
0_0_36459404_19095.cpp:106:35: error: 'b' was not declared in this scope
             fft::FFT(g, a, n - 1, b, m - 1);
                                   ^
0_0_36459404_19095.cpp:106:35: note: suggested alternative:
0_0_36459404_19095.cpp:29:12: note:   'fft::b'
     }a[N], b[N];
            ^
0_0_36459404_19095.cpp:110:54: error: 'a' was not declared in this scope
         for (int i = 0;i < n;i++) { if (sa[i] != '*')a[i] = 0;else a[i] = 1; }
                                                      ^
0_0_36459404_19095.cpp:110:54: note: suggested alternative:
0_0_36459404_19095.cpp:29:6: note:   'fft::a'
     }a[N], b[N];
      ^
0_0_36459404_19095.cpp:110:68: error: 'a' was not declared in this scope
         for (int i = 0;i < n;i++) { if (sa[i] != '*')a[i] = 0;else a[i] = 1; }
                                                                    ^
0_0_36459404_19095.cpp:110:68: note: suggested alternative:
0_0_36459404_19095.cpp:29:6: note:   'fft::a'
     }a[N], b[N];
      ^
0_0_36459404_19095.cpp:111:54: error: 'b' was not declared in this scope
         for (int i = 0;i < m;i++) { if (sb[i] != '*')b[m - i - 1] = 0;else b[m - i - 1] = 1; }
                                                      ^
0_0_36459404_19095.cpp:111:54: note: suggested alternative:
0_0_36459404_19095.cpp:29:12: note:   'fft::b'
     }a[N], b[N];
            ^
0_0_36459404_19095.cpp:111:76: error: 'b' was not declared in this scope
         for (int i = 0;i < m;i++) { if (sb[i] != '*')b[m - i - 1] = 0;else b[m - i - 1] = 1; }
                                                                            ^
0_0_36459404_19095.cpp:111:76: note: suggested alternative:
0_0_36459404_19095.cpp:29:12: note:   'fft::b'
     }a[N], b[N];
            ^
0_0_36459404_19095.cpp:112:18: error: 'fs' was not declared in this scope
         fft::FFT(fs, a, n - 1, b, m - 1);
                  ^
0_0_36459404_19095.cpp:112:22: error: 'a' was not declared in this scope
         fft::FFT(fs, a, n - 1, b, m - 1);
                      ^
0_0_36459404_19095.cpp:112:22: note: suggested alternative:
0_0_36459404_19095.cpp:29:6: note:   'fft::a'
     }a[N], b[N];
      ^
0_0_36459404_19095.cpp:112:32: error: 'b' was not declared in this scope
         fft::FFT(fs, a, n - 1, b, m - 1);
                                ^
0_0_36459404_19095.cpp:112:32: note: suggested alternative:
0_0_36459404_19095.cpp:29:12: note:   'fft::b'
     }a[N], b[N];
            ^
0_0_36459404_19095.cpp:114:13: error: 'pre' was not declared in this scope
             pre[i] = pre[i - 1] + (sa[i - 1] == '*');
             ^
0_0_36459404_19095.cpp:119:16: error: 'ans' was not declared in this scope
         memset(ans, 0, sizeof ans);
                ^
0_0_36459404_19095.cpp:121:29: error: 'pre' was not declared in this scope
             ans[m - f[i] - (pre[i + 1] - pre[i - m + 1] + sumb - fs[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-07-06 02:15:22, Gzip enabled