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_29614310_1361.cpp:15:7: error: 'll' does not name a type
 const ll mod = 1000000007;
       ^
0_0_29614310_1361.cpp:18:1: error: 'll' does not name a type
 ll dp[2][maxn],ans[maxn];
 ^
0_0_29614310_1361.cpp: In function 'int main()':
0_0_29614310_1361.cpp:44:16: error: 'dp' was not declared in this scope
         memset(dp,0,sizeof(dp));
                ^
0_0_29614310_1361.cpp:51:20: error: 'ans' was not declared in this scope
             memset(ans,0,sizeof(ans));
                    ^
0_0_29614310_1361.cpp:59:86: error: 'mod' was not declared in this scope
                         dp[now ^ 1][cur] = (dp[now ^ 1][cur] + dp[now][cur ^ tmp]) % mod;
                                                                                      ^
0_0_29614310_1361.cpp:61:85: error: 'mod' was not declared in this scope
                         dp[now ^ 1][cur] = (dp[now ^ 1][cur] - dp[now][cur ^ tmp] + mod) % mod;
                                                                                     ^
0_0_29614310_1361.cpp:63:72: error: 'mod' was not declared in this scope
                 ans[num[cur]/2] = (ans[num[cur]/2] + dp[now ^ 1][cur])%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 09:51:43, Gzip enabled