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_29106497_26609.cpp:4:17: error: declaration does not declare anything [-fpermissive]
 #define ll long long;
                 ^
0_0_29106497_26609.cpp:7:1: note: in expansion of macro 'll'
 ll mul(ll a, ll b, ll p){//快速乘,计算a*b%p 
 ^
0_0_29106497_26609.cpp:4:21: error: expected ')' before ';' token
 #define ll long long;
                     ^
0_0_29106497_26609.cpp:7:8: note: in expansion of macro 'll'
 ll mul(ll a, ll b, ll p){//快速乘,计算a*b%p 
        ^
0_0_29106497_26609.cpp:4:21: error: expected constructor, destructor, or type conversion before ';' token
 #define ll long long;
                     ^
0_0_29106497_26609.cpp:7:8: note: in expansion of macro 'll'
 ll mul(ll a, ll b, ll p){//快速乘,计算a*b%p 
        ^
0_0_29106497_26609.cpp:7:11: error: 'a' does not name a type
 ll mul(ll a, ll b, ll p){//快速乘,计算a*b%p 
           ^
0_0_29106497_26609.cpp:7:17: error: 'b' does not name a type
 ll mul(ll a, ll b, ll p){//快速乘,计算a*b%p 
                 ^
0_0_29106497_26609.cpp:7:23: error: 'p' does not name a type
 ll mul(ll a, ll b, ll p){//快速乘,计算a*b%p 
                       ^
0_0_29106497_26609.cpp:4:17: error: declaration does not declare anything [-fpermissive]
 #define ll long long;
                 ^
0_0_29106497_26609.cpp:16:1: note: in expansion of macro 'll'
 ll fact(int n, ll p){//n的阶乘求余p 
 ^
0_0_29106497_26609.cpp:4:21: error: expected ')' before ';' token
 #define ll long long;
                     ^
0_0_29106497_26609.cpp:16:16: note: in expansion of macro 'll'
 ll fact(int n, ll p){//n的阶乘求余p 
                ^
0_0_29106497_26609.cpp:4:21: error: expected constructor, destructor, or type conversion before ';' token
 #define ll long long;
                     ^
0_0_29106497_26609.cpp:16:16: note: in expansion of macro 'll'
 ll fact(int n, ll p){//n的阶乘求余p 
                ^
0_0_29106497_26609.cpp:16:19: error: 'p' does not name a type
 ll fact(int n, ll p){//n的阶乘求余p 
                   ^
0_0_29106497_26609.cpp:4:21: error: expected ')' before ';' token
 #define ll long long;
                     ^
0_0_29106497_26609.cpp:21:13: note: in expansion of macro 'll'
 void ex_gcd(ll a, ll b, ll &x, ll &y, ll &d){
             ^
0_0_29106497_26609.cpp:21:16: error: 'a' does not name a type
 void ex_gcd(ll a, ll b, ll &x, ll &y, ll &d){
                ^
0_0_29106497_26609.cpp:21:22: error: 'b' does not name a type
 void ex_gcd(ll a, ll b, ll &x, ll &y, ll &d){
                      ^
0_0_29106497_26609.cpp:21:30: error: expected constructor, destructor, or type conversion before ',' token
 void ex_gcd(ll a, ll b, ll &x, ll &y, ll &d){
                              ^
0_0_29106497_26609.cpp:4:12: error: expected unqualified-id before 'long'
 #define ll long long;
            ^
0_0_29106497_26609.cpp:21:32: note: in expansion of macro 'll'
 void ex_gcd(ll a, ll b, ll &x, ll &y, ll &d){
                                ^
0_0_29106497_26609.cpp:21:37: error: expected constructor, destructor, or type conversion before ',' token
 void ex_gcd(ll a, ll b, ll &x, ll &y, ll &d){
                                     ^
0_0_29106497_26609.cpp:4:12: error: expected unqualified-id before 'long'
 #define ll long long;
            ^
0_0_29106497_26609.cpp:21:39: note: in expansion of macro 'll'
 void ex_gcd(ll a, ll b, ll &x, ll &y, ll &d){
                                       ^
0_0_29106497_26609.cpp:21:44: error: expected constructor, destructor, or type conversion before ')' token
 void ex_gcd(ll a, ll b, ll &x, ll &y, ll &d){
                                            ^


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-01 11:36:36, Gzip enabled