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_38589328_10274.cpp: In function 'void init(int, int, int, int)':
0_0_38589328_10274.cpp:22:15: error: request for member 'reset' in 'dp[i]', which is of non-class type 'std::bitset<105> [15]'
         dp[i].reset();
               ^~~~~
0_0_38589328_10274.cpp:32:30: error: invalid operands of types 'std::bitset<105> [15]' and 'int' to binary 'operator<<'
             dp[j] |= (dp[j-1]<<a[i]);
                       ~~~~~~~^~~~~~
0_0_38589328_10274.cpp:35:47: error: invalid cast from type 'std::bitset<105>' to type 'int'
     mmp[x][y][z]=mmp[x][z][y]=(int)(dp[10][87]);
                                               ^
0_0_38589328_10274.cpp:36:47: error: invalid cast from type 'std::bitset<105>' to type 'int'
     mmp[y][x][z]=mmp[y][z][x]=(int)(dp[10][87]);
                                               ^
0_0_38589328_10274.cpp:37:47: error: invalid cast from type 'std::bitset<105>' to type 'int'
     mmp[z][y][x]=mmp[z][x][y]=(int)(dp[10][87]);
                                               ^
0_0_38589328_10274.cpp: In function 'int main()':
0_0_38589328_10274.cpp:69:5: error: expected '}' at end of input
     }
     ^
0_0_38589328_10274.cpp:40:1: note: to match this '{'
 {
 ^


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-22 16:00:11, Gzip enabled