delete pics to save space
This commit is contained in:
17
history_source/ccf 入门篇/U4/4.5.2.cpp
Normal file
17
history_source/ccf 入门篇/U4/4.5.2.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
int n;
|
||||
while(true)
|
||||
{
|
||||
cin>>n;
|
||||
do
|
||||
{
|
||||
cout<<"<EFBFBD><EFBFBD> "<<n/2<<"<EFBFBD><EFBFBD>"<<"<EFBFBD><EFBFBD> "<<n%2<<endl;
|
||||
n/=2;
|
||||
}
|
||||
while(n>0);
|
||||
cout<<endl;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user