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_22236850_1053.cpp: In function 'void work(int)':
0_0_22236850_1053.cpp:17:2: error: expected primary-expression before '?' token
  ?2?
  ^
0_0_22236850_1053.cpp:19:58: error: expected ':' before ';' token
         dp[i][2] = dp[i-1][2] * + dp[i-1][0] + dp[i-1][1];        /// ??2?
                                                          ^
0_0_22236850_1053.cpp:19:58: error: expected primary-expression before ';' token
0_0_22236850_1053.cpp:19:58: error: expected ':' before ';' token
0_0_22236850_1053.cpp:19:58: error: expected primary-expression before ';' token
0_0_22236850_1053.cpp: In function 'unsigned int solve(int, int, int&)':
0_0_22236850_1053.cpp:38:15: error: expected primary-expression before '%' token
         if (n/% > 6) rslt += dp[i][1];
               ^
0_0_22236850_1053.cpp:38:17: error: expected primary-expression before '>' token
         if (n/% > 6) rslt += dp[i][1];
                 ^
0_0_22236850_1053.cpp:39:20: error: expected primary-expression before '%' token
         else if (n/% == 6) {
                    ^
0_0_22236850_1053.cpp:39:22: error: expected primary-expression before '==' token
         else if (n/% == 6) {
                      ^


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-02 06:38:03, Gzip enabled