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_30427600_5996.cpp:3:13: error: '_int128' does not name a type
 #define ll  _int128
             ^
0_0_30427600_5996.cpp:12:7: note: in expansion of macro 'll'
 const ll inf = 1e18;
       ^
0_0_30427600_5996.cpp:3:13: error: '_int128' does not name a type
 #define ll  _int128
             ^
0_0_30427600_5996.cpp:15:1: note: in expansion of macro 'll'
 ll n,a,b,inv2;
 ^
0_0_30427600_5996.cpp:3:13: error: '_int128' does not name a type
 #define ll  _int128
             ^
0_0_30427600_5996.cpp:17:1: note: in expansion of macro 'll'
 ll power_mod(ll a, ll b, ll MOD)
 ^
0_0_30427600_5996.cpp:3:13: error: '_int128' does not name a type
 #define ll  _int128
             ^
0_0_30427600_5996.cpp:29:1: note: in expansion of macro 'll'
 ll solve2(ll n)
 ^
0_0_30427600_5996.cpp:3:13: error: '_int128' does not name a type
 #define ll  _int128
             ^
0_0_30427600_5996.cpp:37:1: note: in expansion of macro 'll'
 ll solve(ll n,ll cnt)
 ^
0_0_30427600_5996.cpp: In function 'int main()':
0_0_30427600_5996.cpp:59:4: error: 'inv2' was not declared in this scope
    inv2 = power_mod(2, MOD - 2, MOD);
    ^
0_0_30427600_5996.cpp:59:36: error: 'power_mod' was not declared in this scope
    inv2 = power_mod(2, MOD - 2, MOD);
                                    ^
0_0_30427600_5996.cpp:64:15: error: 'n' was not declared in this scope
        cin >> n >> a >> b;
               ^
0_0_30427600_5996.cpp:64:20: error: 'a' was not declared in this scope
        cin >> n >> a >> b;
                    ^
0_0_30427600_5996.cpp:64:25: error: 'b' was not declared in this scope
        cin >> n >> a >> b;
                         ^
0_0_30427600_5996.cpp:3:13: error: '_int128' was not declared in this scope
 #define ll  _int128
             ^
0_0_30427600_5996.cpp:65:8: note: in expansion of macro 'll'
        ll ans = solve(n,n);
        ^
0_0_30427600_5996.cpp:66:17: error: 'ans' was not declared in this scope
        cout << (ans + MOD) % MOD << endl;
                 ^


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-29 17:23:44, Gzip enabled