- 博客(5)
- 资源 (2)
- 收藏
- 关注
原创 瓷砖问题
1.http://www.tsinsen.com/A1023算法有难度,需要用递归但是写出来不难,也没有细节问题#include using namespace std;int fun(int n){ if(n>2) { return fun(n-1)+fun(n-2); } else if(n==2) { r
2017-01-09 16:00:16 356
原创 how notes help me
1.well ,I bought a car in the moring not for me,and i watch 'the big bang' in the afternoon.By the end of afternoon,I've heard some annoying news,I'm getting really angry.2.considering writing for t
2017-01-08 23:34:14 173
原创 缩小的陆地+排序
1.http://www.tsinsen.com/ViewGProblem.page?gpid=A1016题目,编号1016代码#include #include using namespace std;int main(){ int n=0; double x,y; cin>>n; int result[100000]; for(in
2017-01-07 23:20:22 337
原创 10进制到任意进制的转换
1.任意进制转换(why sometimes it won't shift to Chinese?)好气哦,怎么有时候会变不成中文呢,这个网站和我的浏览器之间可能有点什么。任意进制转换(2~36)核心在于连除,while(q!=0) { q = q / base; a[j]=trans(q%base); j--;
2017-01-07 16:14:13 1218
原创 做了几个题,出的问题,以及比较简单的解法
1.转换16进制,我的是常规解法,没啥好说的,另外有:#include #include using namespace std;int main(){ int a; scanf("%d",&a); printf("%X",a); return 0;}毕竟在内存中存的都是01,你换个类型人家就给你什么,很好。2
2017-01-06 13:24:03 285
cityscape sets.rar
2019-10-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人