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_22229233_4402.cpp:8:18: error: declaration of 'dp' as multidimensional array must have bounds for all dimensions except the first
  unsigned dp[NN][];
                  ^
0_0_22229233_4402.cpp: In function 'void work(int)':
0_0_22229233_4402.cpp:12:6: error: 'dp' was not declared in this scope
      dp[0][0] = ;
      ^
0_0_22229233_4402.cpp:12:17: error: expected primary-expression before ';' token
      dp[0][0] = ;
                 ^
0_0_22229233_4402.cpp:13:16: error: expected primary-expression before ';' token
      for(int i=; i<=LN; ++i) {
                ^
0_0_22229233_4402.cpp:14:26: error: expected primary-expression before ']' token
          dp[i][0] = dp[i-][0] *  - dp[i-][];                        /// ??2的【含1?
                          ^
0_0_22229233_4402.cpp:14:41: error: expected primary-expression before ']' token
          dp[i][0] = dp[i-][0] *  - dp[i-][];                        /// ??2的【含1?
                                         ^
0_0_22229233_4402.cpp:14:43: error: expected primary-expression before ']' token
          dp[i][0] = dp[i-][0] *  - dp[i-][];                        /// ??2的【含1?
                                           ^
0_0_22229233_4402.cpp:16:16: error: expected primary-expression before ']' token
          dp[i][] = dp[i-][0];                                        /// 开头是2?
                ^
0_0_22229233_4402.cpp:16:25: error: expected primary-expression before ']' token
          dp[i][] = dp[i-][0];                                        /// 开头是2?
                         ^
0_0_22229233_4402.cpp:17:2: error: expected primary-expression before '?' token
  ?2?
  ^
0_0_22229233_4402.cpp:19:16: error: expected primary-expression before ']' token
          dp[i][] = dp[i-][] *  + dp[i-][0] + dp[i-][];        /// ??2?
                ^
0_0_22229233_4402.cpp:19:25: error: expected primary-expression before ']' token
          dp[i][] = dp[i-][] *  + dp[i-][0] + dp[i-][];        /// ??2?
                         ^
0_0_22229233_4402.cpp:19:27: error: expected primary-expression before ']' token
          dp[i][] = dp[i-][] *  + dp[i-][0] + dp[i-][];        /// ??2?
                           ^
0_0_22229233_4402.cpp:19:39: error: expected primary-expression before ']' token
          dp[i][] = dp[i-][] *  + dp[i-][0] + dp[i-][];        /// ??2?
                                       ^
0_0_22229233_4402.cpp:19:51: error: expected primary-expression before ']' token
          dp[i][] = dp[i-][] *  + dp[i-][0] + dp[i-][];        /// ??2?
                                                   ^
0_0_22229233_4402.cpp:19:53: error: expected primary-expression before ']' token
          dp[i][] = dp[i-][] *  + dp[i-][0] + dp[i-][];        /// ??2?
                                                     ^
0_0_22229233_4402.cpp:19:54: error: expected ':' before ';' token
          dp[i][] = dp[i-][] *  + dp[i-][0] + dp[i-][];        /// ??2?
                                                      ^
0_0_22229233_4402.cpp:19:54: error: expected primary-expression before ';' token
0_0_22229233_4402.cpp:19:54: error: expected ':' before ';' token
0_0_22229233_4402.cpp:19:54: error: expected primary-expression before ';' token
0_0_22229233_4402.cpp: In function 'unsigned int solve(int, int, int&)':
0_0_22229233_4402.cpp:27:26: error: expected primary-expression before ';' token
      unsigned curr = n % ;
                          ^
0_0_22229233_4402.cpp:28:29: error: 'dp' was not declared in this scope
      unsigned rslt = curr * dp[i-][];
                             ^
0_0_22229233_4402.cpp:28:34: error: expected primary-expression before ']' token
      unsigned rslt = curr * dp[i-][];
                                  ^
0_0_22229233_4402.cpp:28:36: error: expected primary-expression before ']' token
      unsigned rslt = curr * dp[i-][];
                                    ^
0_0_22229233_4402.cpp:30:12: error: expected primary-expression before ')' token
      if (n/) rslt += solve(i+, n/, extra0);
            ^
0_0_22229233_4402.cpp:30:30: error: expected primary-expression before ',' token
      if (n/) rslt += solve(i+, n/, extra0);
                              ^
0_0_22229233_4402.cpp:30:34: error: expected primary-expression before ',' token
      if (n/) rslt += solve(i+, n/, extra0);
                                  ^
0_0_22229233_4402.cpp:32:30: error: expected primary-expression before ']' token
          rslt += curr * dp[i-][0];
                              ^
0_0_22229233_4402.cpp:33:18: error: expected primary-expression before ';' token
          extra = ;
                  ^
0_0_22229233_4402.cpp:35:21: error: expected primary-expression before ')' token
          if (curr > ) rslt += dp[i-][0];
                     ^
0_0_22229233_4402.cpp:35:36: error: expected primary-expression before ']' token
          if (curr > ) rslt += dp[i-][0];
                                    ^
0_0_22229233_4402.cpp:36:27: error: expected primary-expression before ')' token
          else if (curr == ) extra = ;
                           ^
0_0_22229233_4402.cpp:36:37: error: expected primary-expression before ';' token
          else if (curr == ) extra = ;
                                     ^
0_0_22229233_4402.cpp:38:17: error: expected primary-expression before '%' token
          if (n/ %  > ) rslt += dp[i][];
                 ^
0_0_22229233_4402.cpp:38:20: error: expected primary-expression before '>' token
          if (n/ %  > ) rslt += dp[i][];
                    ^
0_0_22229233_4402.cpp:38:22: error: expected primary-expression before ')' token
          if (n/ %  > ) rslt += dp[i][];
                      ^
0_0_22229233_4402.cpp:38:38: error: expected primary-expression before ']' token
          if (n/ %  > ) rslt += dp[i][];
                                      ^
0_0_22229233_4402.cpp:39:22: error: expected primary-expression before '%' token
          else if (n/ %  == ) {
                      ^
0_0_22229233_4402.cpp:39:25: error: expected primary-expression before '==' token
          else if (n/ %  == ) {
                         ^
0_0_22229233_4402.cpp:39:28: error: expected primary-expression before ')' token
          else if (n/ %  == ) {
                            ^
0_0_22229233_4402.cpp:40:25: error: expected primary-expression before ')' token
              if (curr > ) rslt += dp[i][];
                         ^
0_0_22229233_4402.cpp:40:41: error: expected primary-expression before ']' token
              if (curr > ) rslt += dp[i][];
                                         ^
0_0_22229233_4402.cpp:41:31: error: expected primary-expression before ')' token
              else if (curr == ) extra = ;
                               ^
0_0_22229233_4402.cpp:41:41: error: expected primary-expression before ';' token
              else if (curr == ) extra = ;
                                         ^


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-26 15:11:09, Gzip enabled