想偷懒
查看原帖
想偷懒
1363695
meileya楼主2024/7/31 21:20
#include<bits/stdc++.h>
using namespace std;
int main(){
	int n,k;
	cin>>n>>k;
	bitset<n> b(k);
	cout<<b;
	return 0;
}

1.

6 9

C:\Users(不愿透露姓名)\Documents\未命名1.cpp

[Error] wrong number of template arguments (0, should be 1)

2.

748 11

C:\Program Files (x86)\Dev- Cpp\MinGW64\lib\gcc\x86_64-w64- mingw32\4.9.2\include\c++\bitset

[Error] provided for 'template class std::bitset'

3.

6 12

C:\Users\ (不愿透露姓名)\Documents\未命名1.cpp

[Error] invalid type in declaration before '(' token

???

2024/7/31 21:20
加载中...