自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Dosth_Magic

你不能停止努力。

  • 博客(9)
  • 资源 (5)
  • 收藏
  • 关注

原创 uva699 the falling leaves

#include#includeint pile[200], temp;char str[1000];void dfs(int pos){ scanf("%d", &temp); if (temp < 0) return; pile[pos] += temp; dfs(pos-1); dfs(pos+1);}int main(){

2015-01-31 23:40:28 448

原创 uva839 not so mobile

#includeusing namespace std;//输入一个子天平,返回天平是否平衡,参数W修改为子天平的总重量bool solve(int& W){ int W1, D1, W2, D2; bool b1 = true, b2 = true; cin >> W1 >> D1 >> W2 >> D2; if(!W1) b1 = solve(W1);

2015-01-31 23:27:43 472

原创 uva122 trees on the level

看不下去,找点简单的,再回来写

2015-01-31 23:17:51 530

原创 uva679 dropping balls

#include#includeconst int maxd = 20;int s[1<<maxd];int main(){ int D, I, N; scanf("%d", &N); while(N--) { scanf("%d", &D); if(D == -1) break; scanf("%d", &I);

2015-01-31 23:06:41 490

原创 uva12657 boxes in a line

#include#includeusing namespace std;const int N = 100005;int le[N], ri[N], n, m;typedef long long ll;void link(int l, int r)//链接l和r,l在左边{ le[r] = l; ri[l] = r;}int main(){ int cas =

2015-01-31 22:30:35 863

原创 uva11988 broken keyboard

#include#includeconst int maxn = 100000 + 5;int last, cur, next[maxn];char s[maxn];int main(){ while(scanf("%s", s+1) == 1) { int n = strlen(s+1); last = cur = 0; nex

2015-01-31 21:52:34 591

原创 数据结构之数组实现

//模拟数组#include#include#include//定义了一个数据类型,该数据类型的名字叫struct ,3个成员struct Arr{ int * pBase;//存储的是数组的第一个的地址 int len;//数组所能容纳最大元素的个数 int cnt;//当前数组有效元素的个数// int increment;//自动增长银因子};

2015-01-24 23:03:00 504

原创 Data Mining UVA1591原题翻译+题解

Dr. Tuple is working on the new data-mining application for Advanced Commercial Merchandise Inc. Tuple先生工作在新的数据挖掘应用对先进的商业货物。(明显句子不通。。。)One of the subroutines for this application works with two arra

2015-01-01 21:13:12 2076

原创 Flooded UVA815翻译原题+代码

英语实在是不好,题意都看不懂,背单词又背不下去,那就慢慢翻译吧,反正没事干。翻译不求用词精准,句子也可能不通顺, 只是能理解了题意就好。To enable homebuyers to estimate the cost of flood insurance, a real-estate firm provides clients with the elevation of each 10-

2015-01-01 19:25:40 2033 1

chrome修复工具

chrome一直有问题,有时候能用,然后就上不了csdn,google,这个工具很好用

2018-11-06

p5js代码库

交互式可视化工具,学习前端可视化入门代码库,非常简单有趣

2018-10-18

初学论文制作PPT

初学论文,面对全是英语的文章,还是很难理解的,要多看,更要掌握看文章的方法。 掌握该问的核心思想,学习研究经验。把该论文的ppt做出来,意味着掌握的差不多了

2017-09-21

Qt+OpenGL程序

Qt+OpenGL程序

2017-08-23

C++Qt教程源码

学习youtobe上经典C++Qt教程的代码,有想要学习的可以下下来看看

2017-08-23

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除