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_24243965_3736.cpp: In function 'int main()':
0_0_24243965_3736.cpp:35:24: error: no match for 'operator&' (operand types are 'std::bitset<70ull>' and 'std::bitset<505ull>')
    dp[cur]=dp[cur^1]<<1&mt[iid];
                        ^
0_0_24243965_3736.cpp:35:24: note: candidate is:
In file included from 0_0_24243965_3736.cpp:3:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bitset:1426:5: note: template<long long unsigned int _Nb> std::bitset<_Nb> std::operator&(const std::bitset<_Nb>&, const std::bitset<_Nb>&)
     operator&(const bitset<_Nb>& __x, const bitset<_Nb>& __y) _GLIBCXX_NOEXCEPT
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bitset:1426:5: note:   template argument deduction/substitution failed:
0_0_24243965_3736.cpp:35:31: note:   deduced conflicting values for non-type parameter '_Nb' ('70ull' and '505ull')
    dp[cur]=dp[cur^1]<<1&mt[iid];
                               ^


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 18:38:41, Gzip enabled