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_38710342_8162.cpp:7:13: error: 'int64_t' does not name a type
    7 | #define i64 int64_t
      |             ^~~~~~~
0_0_38710342_8162.cpp:11:1: note: in expansion of macro 'i64'
   11 | i64 CC2(i64 n){
      | ^~~
0_0_38710342_8162.cpp:4:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
    3 | #include<bitset>
  +++ |+#include <cstdint>
    4 | #define list mylist
0_0_38710342_8162.cpp:7:13: error: 'int64_t' does not name a type
    7 | #define i64 int64_t
      |             ^~~~~~~
0_0_38710342_8162.cpp:14:1: note: in expansion of macro 'i64'
   14 | i64 CC4(i64 n){
      | ^~~
0_0_38710342_8162.cpp:7:13: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
    7 | #define i64 int64_t
      |             ^~~~~~~
0_0_38710342_8162.cpp:14:1: note: in expansion of macro 'i64'
   14 | i64 CC4(i64 n){
      | ^~~
0_0_38710342_8162.cpp: In function 'int main()':
0_0_38710342_8162.cpp:7:13: error: 'int64_t' was not declared in this scope
    7 | #define i64 int64_t
      |             ^~~~~~~
0_0_38710342_8162.cpp:34:17: note: in expansion of macro 'i64'
   34 |                 i64 cnt,M1,M2;//交集 出度
      |                 ^~~
0_0_38710342_8162.cpp:7:13: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
    7 | #define i64 int64_t
      |             ^~~~~~~
0_0_38710342_8162.cpp:34:17: note: in expansion of macro 'i64'
   34 |                 i64 cnt,M1,M2;//交集 出度
      |                 ^~~
0_0_38710342_8162.cpp:35:21: error: expected ';' before 'ans'
   35 |                 i64 ans = 0;
      |                     ^~~
0_0_38710342_8162.cpp:39:33: error: 'M1' was not declared in this scope
   39 |                                 M1 = list[i].count();
      |                                 ^~
0_0_38710342_8162.cpp:40:33: error: 'M2' was not declared in this scope
   40 |                                 M2 = list[j].count();
      |                                 ^~
0_0_38710342_8162.cpp:41:33: error: 'cnt' was not declared in this scope; did you mean 'int'?
   41 |                                 cnt = (list[i] & list[j]).count();
      |                                 ^~~
      |                                 int
0_0_38710342_8162.cpp:47:33: error: 'ans' was not declared in this scope; did you mean 'abs'?
   47 |                                 ans = (ans + CC4(cnt) * CC2(M1-4) + CC4(cnt) * CC2(M2-4)) % mod;
      |                                 ^~~
      |                                 abs
0_0_38710342_8162.cpp:47:46: error: 'CC4' was not declared in this scope
   47 |                                 ans = (ans + CC4(cnt) * CC2(M1-4) + CC4(cnt) * CC2(M2-4)) % mod;
      |                                              ^~~
0_0_38710342_8162.cpp:47:57: error: 'CC2' was not declared in this scope
   47 |                                 ans = (ans + CC4(cnt) * CC2(M1-4) + CC4(cnt) * CC2(M2-4)) % mod;
      |                                                         ^~~
0_0_38710342_8162.cpp:50:25: error: 'ans' was not declared in this scope; did you mean 'abs'?
   50 |                 cout << ans%mod <<endl;
      |                         ^~~
      |                         abs


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-17 04:13:51, Gzip enabled