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_30787441_18041.cpp:20:7: error: 'LL' does not name a type
 const LL MOD=1000000007;
       ^
0_0_30787441_18041.cpp:25:1: error: 'LL' does not name a type
 LL ans[maxn];
 ^
0_0_30787441_18041.cpp:28:1: error: 'LL' does not name a type
 LL Inv[maxn],F[maxn];
 ^
0_0_30787441_18041.cpp: In function 'void solve()':
0_0_30787441_18041.cpp:34:5: error: 'LL' was not declared in this scope
     LL temp=1;
     ^
0_0_30787441_18041.cpp:35:13: error: 'mm' was not declared in this scope
     mm(num,0);
             ^
0_0_30787441_18041.cpp:41:13: error: 'temp' was not declared in this scope
             temp=temp*Inv[num[arr[R]]]%MOD;
             ^
0_0_30787441_18041.cpp:41:23: error: 'Inv' was not declared in this scope
             temp=temp*Inv[num[arr[R]]]%MOD;
                       ^
0_0_30787441_18041.cpp:41:40: error: 'MOD' was not declared in this scope
             temp=temp*Inv[num[arr[R]]]%MOD;
                                        ^
0_0_30787441_18041.cpp:44:13: error: 'temp' was not declared in this scope
             temp=temp*(LL)num[arr[R]]%MOD;
             ^
0_0_30787441_18041.cpp:49:13: error: 'temp' was not declared in this scope
             temp=temp*(LL)num[arr[L]]%MOD;
             ^
0_0_30787441_18041.cpp:56:13: error: 'temp' was not declared in this scope
             temp=temp*Inv[num[arr[L]]]%MOD;
             ^
0_0_30787441_18041.cpp:56:23: error: 'Inv' was not declared in this scope
             temp=temp*Inv[num[arr[L]]]%MOD;
                       ^
0_0_30787441_18041.cpp:56:40: error: 'MOD' was not declared in this scope
             temp=temp*Inv[num[arr[L]]]%MOD;
                                        ^
0_0_30787441_18041.cpp:59:9: error: 'ans' was not declared in this scope
         ans[ask[i].id]=temp*F[x]%MOD;;
         ^
0_0_30787441_18041.cpp:59:24: error: 'temp' was not declared in this scope
         ans[ask[i].id]=temp*F[x]%MOD;;
                        ^
0_0_30787441_18041.cpp:59:29: error: 'F' was not declared in this scope
         ans[ask[i].id]=temp*F[x]%MOD;;
                             ^
0_0_30787441_18041.cpp:59:34: error: 'MOD' was not declared in this scope
         ans[ask[i].id]=temp*F[x]%MOD;;
                                  ^
0_0_30787441_18041.cpp: In function 'int main()':
0_0_30787441_18041.cpp:64:5: error: 'Inv' was not declared in this scope
     Inv[1]=1;
     ^
0_0_30787441_18041.cpp:65:5: error: 'F' was not declared in this scope
     F[0]=F[1]=1;
     ^
0_0_30787441_18041.cpp:67:17: error: 'LL' was not declared in this scope
         Inv[i]=(LL)(MOD-MOD/i)*Inv[MOD%i]%MOD;
                 ^
0_0_30787441_18041.cpp:67:21: error: 'MOD' was not declared in this scope
         Inv[i]=(LL)(MOD-MOD/i)*Inv[MOD%i]%MOD;
                     ^
0_0_30787441_18041.cpp:83:29: error: 'ans' was not declared in this scope
             printf("%lld\n",ans[i]);
                             ^


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-07-07 23:17:10, Gzip enabled