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_30429093_23740.cpp:3:12: error: '_int128' does not name a type
 #define ll _int128
            ^
0_0_30429093_23740.cpp:4:1: note: in expansion of macro 'll'
 ll mod = 1e9 + 7;
 ^
0_0_30429093_23740.cpp:3:12: error: '_int128' does not name a type
 #define ll _int128
            ^
0_0_30429093_23740.cpp:5:1: note: in expansion of macro 'll'
 ll lca(ll n, ll a, ll b)
 ^
0_0_30429093_23740.cpp: In function 'int main()':
0_0_30429093_23740.cpp:3:12: error: '_int128' was not declared in this scope
 #define ll _int128
            ^
0_0_30429093_23740.cpp:22:9: note: in expansion of macro 'll'
         ll n, a, b;
         ^
0_0_30429093_23740.cpp:23:16: error: 'n' was not declared in this scope
         cin >> n >> a >> b;
                ^
0_0_30429093_23740.cpp:23:21: error: 'a' was not declared in this scope
         cin >> n >> a >> b;
                     ^
0_0_30429093_23740.cpp:23:26: error: 'b' was not declared in this scope
         cin >> n >> a >> b;
                          ^
0_0_30429093_23740.cpp:24:28: error: 'lca' was not declared in this scope
         cout << lca(n, a, b) % mod <<  endl;
                            ^
0_0_30429093_23740.cpp:24:32: error: 'mod' was not declared in this scope
         cout << lca(n, a, b) % 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-12-02 10:29:04, Gzip enabled