返回列表 發帖
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. string str;
  4. int main()
  5. {
  6. cin>>str;
  7. cout<<stoi(str,nullptr,2);
  8. return 0;
  9. }
複製代碼

TOP

返回列表