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_38738094_13923.cpp:16:13: error: 'int64_t' does not name a type
   16 | using i64 = int64_t;
      |             ^~~~~~~
0_0_38738094_13923.cpp:11:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   10 | #include<bitset>
  +++ |+#include <cstdint>
   11 | using namespace std;
0_0_38738094_13923.cpp:17:11: error: 'i64' does not name a type
   17 | constexpr i64 mod = 998244353;
      |           ^~~
0_0_38738094_13923.cpp:19:1: error: 'i64' does not name a type
   19 | i64 fpow(i64 x, i64 r)
      | ^~~
0_0_38738094_13923.cpp:32:5: error: 'i64' does not name a type
   32 |     i64 fac[N], ifac[N];
      |     ^~~
0_0_38738094_13923.cpp: In lambda function:
0_0_38738094_13923.cpp:35:9: error: 'fac' was not declared in this scope
   35 |         fac[0] = 1;
      |         ^~~
0_0_38738094_13923.cpp:37:39: error: 'mod' was not declared in this scope; did you mean 'modf'?
   37 |             fac[i] = fac[i - 1] * i % mod;
      |                                       ^~~
      |                                       modf
0_0_38738094_13923.cpp:38:9: error: 'ifac' was not declared in this scope
   38 |         ifac[N - 5] = fpow(fac[N - 5], mod - 2);
      |         ^~~~
0_0_38738094_13923.cpp:38:40: error: 'mod' was not declared in this scope; did you mean 'modf'?
   38 |         ifac[N - 5] = fpow(fac[N - 5], mod - 2);
      |                                        ^~~
      |                                        modf
0_0_38738094_13923.cpp:38:23: error: 'fpow' was not declared in this scope; did you mean 'pow'?
   38 |         ifac[N - 5] = fpow(fac[N - 5], mod - 2);
      |                       ^~~~
      |                       pow
0_0_38738094_13923.cpp: At global scope:
0_0_38738094_13923.cpp:44:12: error: 'i64' does not name a type
   44 |     inline i64 C(int n, int m)
      |            ^~~
0_0_38738094_13923.cpp:50:12: error: 'i64' does not name a type
   50 |     inline i64 A(int n, int m)
      |            ^~~
0_0_38738094_13923.cpp: In function 'void sovle()':
0_0_38738094_13923.cpp:60:23: error: 'mod' was not declared in this scope; did you mean 'modf'?
   60 |     int px=fpow((b-a),mod-2);
      |                       ^~~
      |                       modf
0_0_38738094_13923.cpp:60:12: error: 'fpow' was not declared in this scope; did you mean 'pow'?
   60 |     int px=fpow((b-a),mod-2);
      |            ^~~~
      |            pow
0_0_38738094_13923.cpp:66:10: error: 'C' was not declared in this scope
   66 |     ans+=C(n,1)*x1%mod*x2*pm%mod;
      |          ^


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-06-29 12:14:08, Gzip enabled