摘要:
清晨,外面淅淅沥沥的飘着小雨~ 往常一样,寝室->实验室->寝室....... 感觉许久没有去上课,有些习惯这种生活,并且有些享受这种生活,呵呵~ 对期末考试有些担忧,都没学........................T_T,神马概率、计算机组成原理、C#到时候都去见鬼去吧~~算了,想也是白想,车到山前必有路......... 阅读全文
摘要:
题意:给定n、k,求出n的阶乘转化为k进制一共有几位。思路:log(a*b)=log(a)+log(b)..............题目链接:http://www.lightoj.com/volume_showproblem.php?problem=1045View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <cmath> 4 #include <string> 5 #include <algorithm> 6 #include <iostream> 阅读全文