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_16712996_2110.cpp:14:7: error: 'LL' does not name a type
 const LL MAX = (LL)1e5 + 5;
       ^
0_0_16712996_2110.cpp:15:7: error: 'LL' does not name a type
 const LL mod=1e9+7;
       ^
0_0_16712996_2110.cpp:17:13: error: 'MAX' was not declared in this scope
 long long h[MAX];
             ^
0_0_16712996_2110.cpp: In function 'int main()':
0_0_16712996_2110.cpp:34:17: error: 'h' was not declared in this scope
                 h[i]=i;
                 ^
0_0_16712996_2110.cpp:43:28: error: 'h' was not declared in this scope
                     ans*=((h[i]+1+a)%mod);
                            ^
0_0_16712996_2110.cpp:43:38: error: 'mod' was not declared in this scope
                     ans*=((h[i]+1+a)%mod);
                                      ^
0_0_16712996_2110.cpp:49:28: error: 'h' was not declared in this scope
                     ans*=((h[i]+a)%mod);
                            ^
0_0_16712996_2110.cpp:49:36: error: 'mod' was not declared in this scope
                     ans*=((h[i]+a)%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 03:47:20, Gzip enabled