摘要:
Problem Description 一个整数,仅仅知道前几位,不知道末二位。被还有一个整数除尽了。那么该数的末二位该是什么呢? Input 输入数据有若干组,每组数据包括二个整数a,b(0<a<10000, 10<b<100),若遇到0 0则处理结束。 Output 相应每组数据,将满足条件的全 阅读全文
posted @ 2017-05-15 17:58
yfceshi
阅读(404)
评论(0)
推荐(0)
摘要:
程序代码: #include <iostream> using namespace std; class SmallPlant//小型植物 { public: //攻击力 virtual int AttackPower() { return 10;//攻击力为10 } }; class Zombie 阅读全文
posted @ 2017-05-15 16:49
yfceshi
阅读(265)
评论(0)
推荐(0)
摘要:
using UnityEngine; using System.Collections; public class CameraTest : MonoBehaviour { public WebCamTexture cameraTexture; public string cameraName="" 阅读全文
posted @ 2017-05-15 15:48
yfceshi
阅读(4452)
评论(1)
推荐(0)
摘要:
oracle下session的查询与删除 1、查询当前session SQL> select username,sid,serial# from v$session where username is not null; USERNAME SID SERIAL# SYS 144 4 HYL 146 阅读全文
posted @ 2017-05-15 14:31
yfceshi
阅读(10609)
评论(0)
推荐(0)
摘要:
UITbableView作为列表展示信息。除了展示的功能,有时还会用到删除。排序等功能。以下就来解说一下怎样实现排序。 排序是当表格进入编辑状态后,在单元格的右側会出现一个button。点击button,就能够拖动单元格。移动位置。进行手动排序。 使用系统自带拖动排序功能的步骤: 1、让tableV 阅读全文
posted @ 2017-05-15 13:39
yfceshi
阅读(1709)
评论(0)
推荐(0)
摘要:
题目链接:http://codeforces.com/problemset/problem/300/A 由于题目保证有解,所以能够把数组排序,最小的数分在第一组。然后最大的数假设大于0就分在第二组。其余的数和0分在第三组(比赛的时候仅仅记得0乘0是0。居然忘记0乘其他数也是0了.....Orz)。假 阅读全文
posted @ 2017-05-15 12:43
yfceshi
阅读(138)
评论(0)
推荐(0)
摘要:
某日运维突然说无线终端的频道页接口訪问量非常大,memcache缓存扛只是来。导致mysql并发查询量太大,导致server不停地宕机,仅仅能不停地重新启动机器。遗憾的是运维并没有告诉mysql查询量详细有多大【无量化,比方一秒多少个查询…】。 针对这个问题。有同事建议改了mysql+memcach 阅读全文
posted @ 2017-05-15 12:42
yfceshi
阅读(213)
评论(0)
推荐(0)
摘要:
Given an absolute path for a file (Unix-style), simplify it. For example, path = "/home/", => "/home" path = "/a/./b/../../c/", => "/c" click to show 阅读全文
posted @ 2017-05-15 12:40
yfceshi
阅读(169)
评论(0)
推荐(0)
摘要:
Cocos2d-x 3.0 开发(九)使用Physicals取代Box2D和chipmunk http://www.cocos2d-x.org/docs/manual/framework/native/physics/physics-integration/zh -- 官网+Demo 水墨鱼的专栏 阅读全文
posted @ 2017-05-15 11:46
yfceshi
阅读(219)
评论(0)
推荐(0)
摘要:
近期做一个项目类似于QQ空间,做到照片浏览的功能,对于QQ空间中点击图片放大至全屏,感觉效果非常赞,于是也做了个类似的效果。例如以下。 我不知道QQ那个是怎么做的。我的思路例如以下: 首先。从图片缩略界面跳转到图片详情页面,应该是从一个Activity跳转到另外一个Activity,应该图片详情页面 阅读全文
posted @ 2017-05-15 10:19
yfceshi
阅读(16439)
评论(0)
推荐(0)

浙公网安备 33010602011771号