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_38431481_28927.cpp:195:23: error: 'm1' is not a valid template argument for type 'const int&' because object 'm1' has not external linkage
  using mint1 = MInt<m1>;
                       ^
0_0_38431481_28927.cpp:196:23: error: 'm2' is not a valid template argument for type 'const int&' because object 'm2' has not external linkage
  using mint2 = MInt<m2>;
                       ^
0_0_38431481_28927.cpp:197:23: error: 'm3' is not a valid template argument for type 'const int&' because object 'm3' has not external linkage
  using mint3 = MInt<m3>;
                       ^
0_0_38431481_28927.cpp:199:6: error: 'mint1' was not declared in this scope
  FFT<mint1> ntt1{3};
      ^
0_0_38431481_28927.cpp:199:11: error: template argument 1 is invalid
  FFT<mint1> ntt1{3};
           ^
0_0_38431481_28927.cpp:200:6: error: 'mint2' was not declared in this scope
  FFT<mint2> ntt2{3};
      ^
0_0_38431481_28927.cpp:200:11: error: template argument 1 is invalid
  FFT<mint2> ntt2{3};
           ^
0_0_38431481_28927.cpp:201:6: error: 'mint3' was not declared in this scope
  FFT<mint3> ntt3{11};
      ^
0_0_38431481_28927.cpp:201:11: error: template argument 1 is invalid
  FFT<mint3> ntt3{11};
           ^
0_0_38431481_28927.cpp:203:24: error: 'mint2' was not declared in this scope
  const int R1 = (int) (mint2{1} / m1);
                        ^
0_0_38431481_28927.cpp:203:29: error: expected ')' before '{' token
  const int R1 = (int) (mint2{1} / m1);
                             ^
0_0_38431481_28927.cpp:204:24: error: 'mint3' was not declared in this scope
  const int R2 = (int) (mint3{1} / (1ll * m1 * m2 % m3));
                        ^
0_0_38431481_28927.cpp:204:29: error: expected ')' before '{' token
  const int R2 = (int) (mint3{1} / (1ll * m1 * m2 % m3));
                             ^
0_0_38431481_28927.cpp: In member function 'std::vector<_RealType> FFTMod<T, MInt, FFT>::conv(const std::vector<_RealType>&, const std::vector<_RealType>&)':
0_0_38431481_28927.cpp:225:19: error: 'mint1' was not declared in this scope
    auto cs1 = cal<mint1>(as, bs, ntt1);
                   ^
0_0_38431481_28927.cpp:226:19: error: 'mint2' was not declared in this scope
    auto cs2 = cal<mint2>(as, bs, ntt2);
                   ^
0_0_38431481_28927.cpp:227:19: error: 'mint3' was not declared in this scope
    auto cs3 = cal<mint3>(as, bs, ntt3);
                   ^


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-29 20:08:48, Gzip enabled