C++實現十進制轉二進制

#include<iostream> #include<string> #include<cmath> #include<algorithm> using namespace std; int main() { int n; while(cin>>n) { if(n==0) { cout<<" 0-->0\n"; continue; } string
相關文章
相關標籤/搜索