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_39126233_7574.cpp:34:11: error: 'Lim' does not name a type
   34 |     const Lim = 18;
      |           ^~~
0_0_39126233_7574.cpp: In function 'void CRT_NTT::init_gn()':
0_0_39126233_7574.cpp:95:19: error: 'Lim' was not declared in this scope
   95 |         int bit = Lim, G = 1 << bit;
      |                   ^~~
0_0_39126233_7574.cpp:96:39: error: 'G' was not declared in this scope
   96 |         int g1 = fpm(gg, (Mod1 - 1) / G, Mod1),
      |                                       ^
0_0_39126233_7574.cpp:100:29: error: 'g2' was not declared in this scope; did you mean 'g1'?
  100 |         gw[G >> 2] = Zp(g1, g2, g3);
      |                             ^~
      |                             g1
0_0_39126233_7574.cpp:100:33: error: 'g3' was not declared in this scope; did you mean 'g1'?
  100 |         gw[G >> 2] = Zp(g1, g2, g3);
      |                                 ^~
      |                                 g1


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-25 22:07:01, Gzip enabled