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_20981742_6929.cpp:14:28: error: stray '#' in program
     for(int i=2; i<=2*n; i++) {
                            ^
0_0_20981742_6929.cpp:14:33: error: stray '#' in program
     for(int i=2; i<=2*n; i++) {
                                 ^
0_0_20981742_6929.cpp:16:33: error: stray '#' in program
         for(int j=1; j<=span; j++) {
                                 ^
0_0_20981742_6929.cpp:16:38: error: stray '#' in program
         for(int j=1; j<=span; j++) {
                                      ^
0_0_20981742_6929.cpp:18:27: error: stray '#' in program
                 if(i - j + 1 <= j) dp[i][j] += dp[i-1][j-1];
                           ^
0_0_20981742_6929.cpp:18:50: error: stray '#' in program
                 if(i - j + 1 <= j) dp[i][j] += dp[i-1][j-1];
                                                  ^
0_0_20981742_6929.cpp:19:42: error: stray '#' in program
                 if(i - j <= j) dp[i][j] += dp[i-1][j];
                                          ^
0_0_20981742_6929.cpp: In function 'void solve()':
0_0_20981742_6929.cpp:14:31: error: expected ')' before ';' token
     for(int i=2; i<=2*n; i++) {
                               ^
0_0_20981742_6929.cpp:14:34: error: lvalue required as unary '&' operand
     for(int i=2; i<=2*n; i++) {
                                  ^
0_0_20981742_6929.cpp:14:37: error: expected primary-expression before ')' token
     for(int i=2; i<=2*n; 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-11-29 12:28:58, Gzip enabled