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_13699313_8656.cpp:7:13: error: expected unqualified-id before 'long'
 #define ll (long long)
             ^
0_0_13699313_8656.cpp:9:7: note: in expansion of macro 'll'
 const ll m = 1000000007;
       ^
0_0_13699313_8656.cpp:7:13: error: expected ')' before 'long'
 #define ll (long long)
             ^
0_0_13699313_8656.cpp:9:7: note: in expansion of macro 'll'
 const ll m = 1000000007;
       ^
0_0_13699313_8656.cpp:7:13: error: expected unqualified-id before 'long'
 #define ll (long long)
             ^
0_0_13699313_8656.cpp:11:1: note: in expansion of macro 'll'
 ll n_jc[105];
 ^
0_0_13699313_8656.cpp:7:13: error: expected ')' before 'long'
 #define ll (long long)
             ^
0_0_13699313_8656.cpp:11:1: note: in expansion of macro 'll'
 ll n_jc[105];
 ^
0_0_13699313_8656.cpp:7:13: error: expected unqualified-id before 'long'
 #define ll (long long)
             ^
0_0_13699313_8656.cpp:12:1: note: in expansion of macro 'll'
 ll jc_inversion[105];
 ^
0_0_13699313_8656.cpp:7:13: error: expected ')' before 'long'
 #define ll (long long)
             ^
0_0_13699313_8656.cpp:12:1: note: in expansion of macro 'll'
 ll jc_inversion[105];
 ^
0_0_13699313_8656.cpp: In function 'void init1()':
0_0_13699313_8656.cpp:22:9: error: 'jc_inversion' was not declared in this scope
  memset(jc_inversion, 0, sizeof(jc_inversion));
         ^
0_0_13699313_8656.cpp:24:2: error: 'n_jc' was not declared in this scope
  n_jc[1] = 1;
  ^
0_0_13699313_8656.cpp:28:31: error: 'm' was not declared in this scope
   n_jc[i] = (n_jc[i-1] * i) % m;
                               ^
0_0_13699313_8656.cpp: At global scope:
0_0_13699313_8656.cpp:7:13: error: expected unqualified-id before 'long'
 #define ll (long long)
             ^
0_0_13699313_8656.cpp:51:1: note: in expansion of macro 'll'
 ll solve()
 ^
0_0_13699313_8656.cpp:7:13: error: expected ')' before 'long'
 #define ll (long long)
             ^
0_0_13699313_8656.cpp:51:1: note: in expansion of macro 'll'
 ll solve()
 ^


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-09-28 19:26:28, Gzip enabled