![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
进制转换
Oenheng
没有遗憾的人生是不完美的
展开
-
进制转换
将一个十进制数N转化为R进制数: #include #include int main() { int N,R,i,j,t; char a[100]; char c[]="0123456789ABCDEF"; while(scanf("%d%d",&N,&R)!=EOF) { if(N<0) t=-1*N; else t=N; fo原创 2016-08-12 16:47:53 · 168 阅读 · 0 评论 -
Two Bases
Two Bases Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 602A Appoint description: Description After seeing the "ALL YOUR BASE A原创 2016-08-12 17:49:41 · 252 阅读 · 0 评论