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_33885150_18145.cpp:28:26: error: 'll' has not been declared
     friend llp operator+(ll a, llp b) { return b + a; }
                          ^
0_0_33885150_18145.cpp:34:26: error: 'll' has not been declared
     friend llp operator-(ll a, llp b) { return -b + a; }
                          ^
0_0_33885150_18145.cpp:39:26: error: 'll' has not been declared
     friend llp operator*(ll a, llp b) { return b * a; }
                          ^
0_0_33885150_18145.cpp:41:20: error: 'll' has not been declared
     llp operator[](ll b) const
                    ^
0_0_33885150_18145.cpp:52:19: error: 'll' has not been declared
     llp operator^(ll b) const { return (*this)[b]; }
                   ^
0_0_33885150_18145.cpp:53:21: error: declaration of 'operator^=' as non-function
     llp &operator^=(ll b) { return *this = *this ^ b; }
                     ^
0_0_33885150_18145.cpp:53:18: error: expected ';' at end of member declaration
     llp &operator^=(ll b) { return *this = *this ^ b; }
                  ^
0_0_33885150_18145.cpp:53:24: error: expected ')' before 'b'
     llp &operator^=(ll b) { return *this = *this ^ b; }
                        ^
0_0_33885150_18145.cpp:56:26: error: 'll' has not been declared
     friend llp operator/(ll a, llp b) { return (~b) * a; }
                          ^
0_0_33885150_18145.cpp:62:21: error: 'll' has not been declared
     bool operator==(ll b) const { return mod(b) == v; }
                     ^
0_0_33885150_18145.cpp:64:21: error: 'll' has not been declared
     bool operator!=(ll b) const { return !(*this == b); }
                     ^
0_0_33885150_18145.cpp:70:26: error: 'll' has not been declared
     friend llp operator<(ll a, llp b) { return b > a; }
                          ^
0_0_33885150_18145.cpp:71:27: error: 'll' has not been declared
     friend llp operator<=(ll a, llp b) { return b >= a; }
                           ^
0_0_33885150_18145.cpp:72:26: error: 'll' has not been declared
     friend llp operator>(ll a, llp b) { return b < a; }
                          ^
0_0_33885150_18145.cpp:73:27: error: 'll' has not been declared
     friend llp operator>=(ll a, llp b) { return b <= a; }
                           ^
0_0_33885150_18145.cpp:78:13: error: 'll' has not been declared
     llp pow(ll b) const { return *this ^ b; }
             ^
0_0_33885150_18145.cpp: In member function 'llp llp::operator*(llp) const':
0_0_33885150_18145.cpp:38:45: error: 'll' was not declared in this scope
     llp operator*(llp b) const { return ll(v) * b.v; }
                                             ^


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 19:18:43, Gzip enabled