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_38685435_24460.cpp:6:13: error: 'int64_t' does not name a type
    6 | using i64 = int64_t;
      |             ^~~~~~~
0_0_38685435_24460.cpp:5:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
    4 | #include<cstring>
  +++ |+#include <cstdint>
    5 | 
0_0_38685435_24460.cpp:27:5: error: 'i64' does not name a type
   27 |     i64 fac[N], ifac[N];
      |     ^~~
0_0_38685435_24460.cpp: In lambda function:
0_0_38685435_24460.cpp:30:9: error: 'fac' was not declared in this scope
   30 |         fac[0] = 1;
      |         ^~~
0_0_38685435_24460.cpp:33:9: error: 'ifac' was not declared in this scope
   33 |         ifac[N - 5] = qmi(fac[N - 5], MOD - 2);
      |         ^~~~
0_0_38685435_24460.cpp: At global scope:
0_0_38685435_24460.cpp:39:12: error: 'i64' does not name a type
   39 |     inline i64 C(int n, int m)
      |            ^~~
0_0_38685435_24460.cpp:45:12: error: 'i64' does not name a type
   45 |     inline i64 A(int n, int m)
      |            ^~~
0_0_38685435_24460.cpp: In function 'int main()':
0_0_38685435_24460.cpp:80:30: error: 'C' was not declared in this scope
   80 |                 res = (res + C(cnt,4) * C(cnt_i - 4,2) + C(cnt,4) * C(cnt_j - 4,2)) % 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-09-03 13:27:09, Gzip enabled