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_19578352_21082.cpp:8:5: error: 'll' does not name a type
     ll x, y;
     ^
0_0_19578352_21082.cpp: In member function 'void Point::read()':
0_0_19578352_21082.cpp:12:15: error: 'struct Point' has no member named 'x'
         this->x = x;
               ^
0_0_19578352_21082.cpp:13:15: error: 'struct Point' has no member named 'y'
         this->y = y;
               ^
0_0_19578352_21082.cpp: In constructor 'Point::Point(int, int)':
0_0_19578352_21082.cpp:16:15: error: 'struct Point' has no member named 'x'
         this->x = x;
               ^
0_0_19578352_21082.cpp:17:15: error: 'struct Point' has no member named 'y'
         this->y = y;
               ^
0_0_19578352_21082.cpp: In member function 'Point Point::operator+(const Point&) const':
0_0_19578352_21082.cpp:21:23: error: 'x' was not declared in this scope
         return Point((x + that.x) % mod, (y + that.y) % mod);
                       ^
0_0_19578352_21082.cpp:21:32: error: 'const struct Point' has no member named 'x'
         return Point((x + that.x) % mod, (y + that.y) % mod);
                                ^
0_0_19578352_21082.cpp:21:43: error: 'y' was not declared in this scope
         return Point((x + that.x) % mod, (y + that.y) % mod);
                                           ^
0_0_19578352_21082.cpp:21:52: error: 'const struct Point' has no member named 'y'
         return Point((x + that.x) % mod, (y + that.y) % mod);
                                                    ^
0_0_19578352_21082.cpp: In member function 'Point Point::operator*(const int&) const':
0_0_19578352_21082.cpp:24:22: error: 'x' was not declared in this scope
         return Point(x * m % mod, y * m % mod);
                      ^
0_0_19578352_21082.cpp:24:35: error: 'y' was not declared in this scope
         return Point(x * m % mod, y * m % mod);
                                   ^
0_0_19578352_21082.cpp: In function 'int cross(Point&, Point&)':
0_0_19578352_21082.cpp:31:15: error: 'struct Point' has no member named 'x'
     return (a.x * b.y % mod - a.y * b.x % mod + mod) % mod;
               ^
0_0_19578352_21082.cpp:31:21: error: 'struct Point' has no member named 'y'
     return (a.x * b.y % mod - a.y * b.x % mod + mod) % mod;
                     ^
0_0_19578352_21082.cpp:31:33: error: 'struct Point' has no member named 'y'
     return (a.x * b.y % mod - a.y * b.x % mod + mod) % mod;
                                 ^
0_0_19578352_21082.cpp:31:39: error: 'struct Point' has no member named 'x'
     return (a.x * b.y % mod - a.y * b.x % mod + mod) % mod;
                                       ^
0_0_19578352_21082.cpp: In function 'int powermod(int, int, int)':
0_0_19578352_21082.cpp:35:5: error: 'll' was not declared in this scope
     ll ans = 1, buf = a;
     ^
0_0_19578352_21082.cpp:37:20: error: 'ans' was not declared in this scope
         if (n & 1) ans = (ans * buf) % mod;
                    ^
0_0_19578352_21082.cpp:37:33: error: 'buf' was not declared in this scope
         if (n & 1) ans = (ans * buf) % mod;
                                 ^
0_0_19578352_21082.cpp:38:9: error: 'buf' was not declared in this scope
         buf = buf * buf % mod;
         ^
0_0_19578352_21082.cpp:41:12: error: 'ans' was not declared in this scope
     return ans;
            ^
0_0_19578352_21082.cpp: In function 'void init()':
0_0_19578352_21082.cpp:45:5: error: 'll' was not declared in this scope
     ll inv = powermod(2, mod - 2, mod);
     ^
0_0_19578352_21082.cpp:49:37: error: 'inv' was not declared in this scope
         twoinv[i] = twoinv[i - 1] * inv % mod;
                                     ^
0_0_19578352_21082.cpp: In function 'int main()':
0_0_19578352_21082.cpp:59:5: error: 'cin' was not declared in this scope
     cin >> T;
     ^
0_0_19578352_21082.cpp:77:9: error: 'cout' was not declared in this scope
         cout << ans << endl;
         ^
0_0_19578352_21082.cpp:77:24: error: 'endl' was not declared in this scope
         cout << ans << 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-06-26 13:00:30, Gzip enabled