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_20983054_28756.cpp:19:26: error: stray '#' in program
 const int MAXN = 1000000+100;
                          ^
0_0_20983054_28756.cpp:37:35: error: stray '#' in program
     for(int i = 2 ; i <= 1000 ; i++)
                                   ^
0_0_20983054_28756.cpp:37:40: error: stray '#' in program
     for(int i = 2 ; i <= 1000 ; i++)
                                        ^
0_0_20983054_28756.cpp:38:38: error: stray '#' in program
         for(int j = 1 ; j <= i*2 ; j++)
                                      ^
0_0_20983054_28756.cpp:38:43: error: stray '#' in program
         for(int j = 1 ; j <= i*2 ; j++)
                                           ^
0_0_20983054_28756.cpp:40:43: error: stray '#' in program
             dp[i][j][0] = (dp[i-1][j][0] + 2*dp[i-1][j][1] + dp[i-1][j-1][1] + dp[i-1][j-1][0]) %mod;
                                           ^
0_0_20983054_28756.cpp:40:65: error: stray '#' in program
             dp[i][j][0] = (dp[i-1][j][0] + 2*dp[i-1][j][1] + dp[i-1][j-1][1] + dp[i-1][j-1][0]) %mod;
                                                                 ^
0_0_20983054_28756.cpp:40:87: error: stray '#' in program
             dp[i][j][0] = (dp[i-1][j][0] + 2*dp[i-1][j][1] + dp[i-1][j-1][1] + dp[i-1][j-1][0]) %mod;
                                                                                       ^
0_0_20983054_28756.cpp:41:43: error: stray '#' in program
             dp[i][j][1] = (dp[i-1][j][1] + dp[i-1][j-2][0] + dp[i-1][j-2][1] + 2*dp[i-1][j-1][0] + 2*dp[i-1][j-1][1]) % mod;
                                           ^
0_0_20983054_28756.cpp:41:65: error: stray '#' in program
             dp[i][j][1] = (dp[i-1][j][1] + dp[i-1][j-2][0] + dp[i-1][j-2][1] + 2*dp[i-1][j-1][0] + 2*dp[i-1][j-1][1]) % mod;
                                                                 ^
0_0_20983054_28756.cpp:41:87: error: stray '#' in program
             dp[i][j][1] = (dp[i-1][j][1] + dp[i-1][j-2][0] + dp[i-1][j-2][1] + 2*dp[i-1][j-1][0] + 2*dp[i-1][j-1][1]) % mod;
                                                                                       ^
0_0_20983054_28756.cpp:41:111: error: stray '#' in program
             dp[i][j][1] = (dp[i-1][j][1] + dp[i-1][j-2][0] + dp[i-1][j-2][1] + 2*dp[i-1][j-1][0] + 2*dp[i-1][j-1][1]) % mod;
                                                                                                               ^
0_0_20983054_28756.cpp:44:35: error: stray '#' in program
     for(int ka = 1 ; ka <= t ; ka++)
                                   ^
0_0_20983054_28756.cpp:44:40: error: stray '#' in program
     for(int ka = 1 ; ka <= t ; ka++)
                                        ^
0_0_20983054_28756.cpp:49:41: error: stray '#' in program
         printf("%lld\n" , (dp[n][k][0] + dp[n][k][1])%mod);
                                         ^
0_0_20983054_28756.cpp:19:30: error: expected unqualified-id before numeric constant
 const int MAXN = 1000000+100;
                              ^
0_0_20983054_28756.cpp: In function 'int main()':
0_0_20983054_28756.cpp:37:38: error: expected ')' before ';' token
     for(int i = 2 ; i <= 1000 ; i++)
                                      ^
0_0_20983054_28756.cpp:37:41: error: lvalue required as unary '&' operand
     for(int i = 2 ; i <= 1000 ; i++)
                                         ^
0_0_20983054_28756.cpp:37:44: error: expected primary-expression before ')' token
     for(int i = 2 ; i <= 1000 ; i++)
                                            ^
0_0_20983054_28756.cpp:38:25: error: 'j' was not declared in this scope
         for(int j = 1 ; j <= i*2 ; j++)
                         ^
0_0_20983054_28756.cpp:38:30: error: 'i' was not declared in this scope
         for(int j = 1 ; j <= i*2 ; j++)
                              ^
0_0_20983054_28756.cpp:38:44: error: lvalue required as unary '&' operand
         for(int j = 1 ; j <= i*2 ; j++)
                                            ^
0_0_20983054_28756.cpp:38:47: error: expected primary-expression before ')' token
         for(int j = 1 ; j <= i*2 ; j++)
                                               ^
0_0_20983054_28756.cpp:44:38: error: expected ')' before ';' token
     for(int ka = 1 ; ka <= t ; ka++)
                                      ^
0_0_20983054_28756.cpp:44:41: error: lvalue required as unary '&' operand
     for(int ka = 1 ; ka <= t ; ka++)
                                         ^
0_0_20983054_28756.cpp:44:44: error: expected primary-expression before ')' token
     for(int ka = 1 ; ka <= t ; ka++)
                                            ^


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-12-05 10:15:37, Gzip enabled