返回列表 發帖
  1. #include<bits/stdc++.h>
  2. using namespace std;

  3. int main()
  4. {
  5.     string str;
  6.     cin>>str;
  7.     cout<<stoi(str,nullptr,2);

  8.     return 0;
  9. }
複製代碼

TOP

返回列表