首页 > 2015年03月31日 > 全部分享
Python学习之路13——字符串2
一个Python小白的学习之路...
分类:编程语言   时间:2015-03-31 09:10:32    收藏:0  评论:0  赞:0  阅读:396
bzoj 1251/tyvj p2195 序列终结者
splay tree...
分类:其他   时间:2015-03-31 09:10:22    收藏:0  评论:0  赞:0  阅读:208
Direct3D 12 尝鲜(二): Fence
正如上节末尾所说, 出现了运行时错误:,这节就是说一下Fence的基本用法...
分类:其他   时间:2015-03-31 09:10:12    收藏:0  评论:0  赞:0  阅读:647
POJ3320---Jessica's Reading Problem(尺取法)
DescriptionJessica’s a very lovely girl wooed by lots of boys. Recently she has a problem. The final exam is coming, yet she has spent little time on it. If she wants to pass it, she has to master all...
分类:其他   时间:2015-03-31 09:10:02    收藏:0  评论:0  赞:0  阅读:376
OC入门第一课
OC入门第一课 hello.m(implementation)  hello.c #import  引入头文件 #include import是include的加强版,预处理只要预处理一次 编译链接:clang hello.m -framework Foundation  (-fobjc-arc 用自动引用计数编译)//终端默认为手动引用计数  (-fno-objc-ar...
分类:其他   时间:2015-03-31 09:09:52    收藏:0  评论:0  赞:0  阅读:293
字母图形
问题描述 利用字母可以组成一些美丽的图形,下面给出了一个例子: ABCDEFG BABCDEF CBABCDE DCBABCD EDCBABC 这是一个5行7列的图形,请找出这个图形的规律,并输出一个n行m列的图形。 输入格式 输入一行,包含两个整数n和m,分别表示你要输出的图形的行数的列数。 输出格式 输出n行,每个m个字符,为你的图形。 样例输入 5 7 样例输出...
分类:其他   时间:2015-03-31 09:09:42    收藏:0  评论:0  赞:0  阅读:209
UDP -- 用户数据报协议
UDP: User Datagram Protocol。 是 OSI 七层模型中的传输层的协议。 也是面向数据报的传输层协议。UDP 的特点UDP 不提供复杂的控制机制,利用 IP 提供面向无连接的通信服务。 并且它是将应用程序传递的数据在接收到的那一刻,立即按照原样发送到网络上的一种机制。应用程序传递数据 ——> UDP 按照原样立即发送。...
分类:其他   时间:2015-03-31 09:09:32    收藏:0  评论:0  赞:0  阅读:134
new/delete多维数组
new用法:   1.开辟单变量地址空间   1)new int; //开辟一个存放数组的存储空间,返回一个指向该存储空间的地址.int *a = new int 即为将一个int类型的地址赋             值给整型指针a.   2)int *a = new int(5)作用同上,但是同时将整数赋值为5   2.开辟数组空间   一维: int *a = new...
分类:编程语言   时间:2015-03-31 09:09:22    收藏:0  评论:0  赞:0  阅读:157
再谈关于 java 线程,synchronized,wait,notify 的问题
我可以明确告诉你,不可能有一个单线程程序里有 wait 这类代码的出现,因为要是真这样,线程一但wait ,再也没人叫醒他了,绝不可能有这样的程序出现。...
分类:编程语言   时间:2015-03-31 09:09:12    收藏:0  评论:0  赞:0  阅读:322
hdu 1546 Idiomatic Phrases Game 最短路
Problem Description Tom is playing a game called Idiomatic Phrases Game. An idiom consists of several Chinese characters and has a certain meaning. This game will give Tom two idioms. He should build a list of idioms and the list starts and ends with the t...
分类:其他   时间:2015-03-31 09:08:52    收藏:0  评论:0  赞:0  阅读:123
BZOJ 2666 cqoi2012 组装 贪心
题目大意:给定数轴上的m个点,共有n种颜色,要求在数轴上选定一个点,使这个点到每种颜色最近的点的平方和最小 初始将所有颜色最左侧的点作为最近点,然后不断选择【当前点与同种颜色下一个点的中点最靠左的点】进行替换,并更新ans 理性证明见http://www.cnblogs.com/jianglangcaijin/p/4204478.html 下面来个感性证明: 这不是显然么- - 考虑将组...
分类:其他   时间:2015-03-31 09:08:42    收藏:0  评论:0  赞:0  阅读:175
下载Android源码(Ubuntu)
?? 下载Android源码(Unbuntu环境下) 1.sudo apt-get install git-core curl   #安装这两个工具 2.mkdir -p /develop/download-froyo    #根目录下建立响应工作目录 3.cd ~/develop/download-froyo 4.curl http://Android.git.kernel.org/r...
分类:移动平台   时间:2015-03-31 09:08:32    收藏:0  评论:0  赞:0  阅读:260
android中的动画全解析
Android为我们提供了2中动画 一: Tween Animation 渐变动画 通过对特定对象做图像的变换,例如: 平移, 缩放,旋转, 淡入淡出 等。 二: Frame Animation 帧动画 创建一个淡入阿瓦不了可以按照指定的时间间隔一个一个显示。顺序播放 下面我们就详细介绍一下这两中动画: 首先我们介绍 渐变动画: 1. Tween Animation 1. 渐变动画有四...
分类:移动平台   时间:2015-03-31 09:08:22    收藏:0  评论:0  赞:0  阅读:138
在qml工程中怎么使用qmldir进行模块管理
在QtQuick如日中天的发展中,出现了许许多多的设计优良的界面库,其中qml-material更是首屈一指,如何在纯qml项目中进行模块化管理呢?qmldir和qmlproject给你带来答案。...
分类:其他   时间:2015-03-31 09:08:12    收藏:0  评论:0  赞:0  阅读:573
leetcode第168题-Excel Sheet Column Title
本题目与前面的把序列字母转换为数字的题目正好相反,是把数字转化为对应的序列字母。首先是步骤:根据逐步求商先确定字母有多少个,再动态申请空间避免内存浪费*(s+size-i)就对应于s[size-i],从后往前逐步的给每个字母赋值即可。#include #include #include char *convertToTitle(int n) { char *s; int fac=...
分类:其他   时间:2015-03-31 09:07:52    收藏:0  评论:0  赞:0  阅读:272
HDU 4614 Vases and Flowers(线段树+二分)
Problem Description   Alice is so popular that she can receive many flowers everyday. She has N vases numbered from 0 to N-1. When she receive some flowers, she will try to put them in the vases, one...
分类:其他   时间:2015-03-31 09:07:42    收藏:0  评论:0  赞:0  阅读:185
区间DP——括号匹配
区间DP——括号匹配...
分类:其他   时间:2015-03-31 09:07:32    收藏:0  评论:0  赞:0  阅读:183
Sicily 13907. Dice Game
13907. Dice Game Constraints Time Limit: 1 secs, Memory Limit: 256 MB Description Gunnar and Emma play a lot of board games at home, so they own many dice that are not normal 6- side...
分类:其他   时间:2015-03-31 09:07:22    收藏:0  评论:0  赞:0  阅读:269
effective c++ 笔记 (5)
//---------------------------15/03/30---------------------------- //#13   以对象管理资源 {     void f()     {         Investment *pInv = createInvestment();         ...         delete pInv; ...
分类:编程语言   时间:2015-03-31 09:07:12    收藏:0  评论:0  赞:0  阅读:288
HDOJ 题目2612 Find a way(BFS)
Find a way Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4772    Accepted Submission(s): 1624 Problem Description Pass a year lea...
分类:其他   时间:2015-03-31 09:06:32    收藏:0  评论:0  赞:0  阅读:198
2186条   上一页 1 ... 88 89 90 91 92 ... 110 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!