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_37897175_7986.cpp:76:36: error: 'M' declared as an 'inline' field
  static inline const int M = NFTS::M;
                                    ^
0_0_37897175_7986.cpp:76:36: error: the value of 'NFTS::M' is not usable in a constant expression
0_0_37897175_7986.cpp:10:5: note: 'int NFTS::M' is not const
 int M = 998244353, g = 3;
     ^
0_0_37897175_7986.cpp:77:43: error: 'inv2' declared as an 'inline' field
  static inline const int inv2 = (M + 1) / 2;
                                           ^
0_0_37897175_7986.cpp: In lambda function:
0_0_37897175_7986.cpp:250:42: error: no matching function for call to 'PolyS::PolyS(<brace-enclosed initializer list>)'
     g[p] = PolyS({1, x[l] ? M - x[l] : 0});
                                          ^
0_0_37897175_7986.cpp:250:42: note: candidates are:
0_0_37897175_7986.cpp:81:2: note: PolyS::PolyS(std::vector<int>)
  PolyS(const std::vector<int> _a) : a(_a) {}
  ^
0_0_37897175_7986.cpp:81:2: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::vector<int>'
0_0_37897175_7986.cpp:80:2: note: PolyS::PolyS(int)
  PolyS(int x) { if (x) a = {x};}
  ^
0_0_37897175_7986.cpp:80:2: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'int'
0_0_37897175_7986.cpp:79:2: note: PolyS::PolyS()
  PolyS() {}
  ^
0_0_37897175_7986.cpp:79:2: note:   candidate expects 0 arguments, 1 provided
0_0_37897175_7986.cpp:71:7: note: PolyS::PolyS(const PolyS&)
 class PolyS {
       ^
0_0_37897175_7986.cpp:71:7: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const PolyS&'
0_0_37897175_7986.cpp:71:7: note: PolyS::PolyS(PolyS&&)
0_0_37897175_7986.cpp:71:7: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'PolyS&&'


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-03 18:03:14, Gzip enabled