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_38049510_22864.cpp: In function 'int main()':
0_0_38049510_22864.cpp:40:11: error: 'll' was not declared in this scope
           ll x;
           ^
0_0_38049510_22864.cpp:41:23: error: 'x' was not declared in this scope
         scanf("%lld",&x);
                       ^
0_0_38049510_22864.cpp:43:31: error: 'add' was not declared in this scope
             int n=upper_bound(add+1,add+100000,x)-add;
                               ^
0_0_38049510_22864.cpp:47:16: error: expected ';' before 'temp'
             ll temp=x-add[n];
                ^
0_0_38049510_22864.cpp:48:16: error: 'temp' was not declared in this scope
             if(temp==0){
                ^
0_0_38049510_22864.cpp:52:51: error: 'MOD' was not declared in this scope
                 printf("%lld\n",(mul[n+1]*Inv_a(2,MOD))%MOD);
                                                   ^
0_0_38049510_22864.cpp:52:54: error: 'Inv_a' was not declared in this scope
                 printf("%lld\n",(mul[n+1]*Inv_a(2,MOD))%MOD);
                                                      ^
0_0_38049510_22864.cpp:55:60: error: 'MOD' was not declared in this scope
                 printf("%lld\n",(mul[n+1]*Inv_a(n+1-temp+1,MOD)%MOD));
                                                            ^
0_0_38049510_22864.cpp:55:63: error: 'Inv_a' was not declared in this scope
                 printf("%lld\n",(mul[n+1]*Inv_a(n+1-temp+1,MOD)%MOD));
                                                               ^


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-30 05:16:13, Gzip enabled