Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio ...
分类:
其他好文 时间:
2017-02-12 18:40:33
阅读次数:
153
#include <iostream> #include <cstdio> #include <algorithm> #include <string.h> #include <cmath> using namespace std; const int maxn=100000+5; long lon ...
分类:
其他好文 时间:
2017-02-11 13:34:53
阅读次数:
112
2017年2月3号,星期五 立春 正月初七 1、 I’ve learned…That the best classroom in the world is at the feet of an elderly person. 我明白了…世界上最好的教室就是老人的脚边。 2、 I’ve learned… ...
分类:
其他好文 时间:
2017-02-03 20:55:52
阅读次数:
245
题目描述: 一个数如果是另一个整数的完全平方,那么我们就称这个数为完全平方数(Pefect Sqaure),也称平方数。小A认为所有的平方数都是很perfect的~于是他给了小B一个任务:用任意个不大于n的不同的正整数相乘得到完全平方数,并且小A希望这个平方数越大越好。请你帮助小B告诉小A满足题意的 ...
分类:
其他好文 时间:
2017-02-03 19:55:38
阅读次数:
260
Farmer John completed his new barn just last week, complete with all the latest milking technology. Unfortunately, due to engineering problems, all th ...
分类:
编程语言 时间:
2017-01-16 21:36:52
阅读次数:
178
今天博客中就来聊一下Perfect框架的静态文件的添加与访问,路由的配置以及表单的提交。虽然官网上有聊静态文件的访问的部分,但是在使用Perfect框架来访问静态文件时还是有些点需要注意的,这些关键点在其官方文档上并未提出。今天我们要做的事情就是通过浏览器访问静态文件,然后在静态文件中使用form表 ...
分类:
编程语言 时间:
2017-01-11 10:25:47
阅读次数:
306
田忌赛马 时间限制:3000 ms | 内存限制:65535 KB 难度:3 描述: Here is a famous story in Chinese history. “That was about 2300 years ago. General Tian Ji was a high offic ...
分类:
其他好文 时间:
2017-01-03 23:59:28
阅读次数:
611
Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio ...
分类:
其他好文 时间:
2016-12-28 07:49:10
阅读次数:
181
二分匹配传送门[here] 原题传送门[here] 题意大概说一下,就是有N头牛和M个牛棚,每头牛愿意住在一些牛棚,求最大能够满足多少头牛的要求。 很明显就是一道裸裸的二分图最大匹配,但是为了练练网络流(做其它的题的时候,神奇地re掉了,于是就写基础题了)的最大流算法,就做做这道题。 每一个牛都可一 ...
分类:
其他好文 时间:
2016-12-25 18:20:14
阅读次数:
199
Pioneer Icons Free Sample Sketch Resource Zodiac Icon Set Sketch Resource 90 Pixel Perfect Halloween Icons Sketch Resource AirPods and iPhone 7 Icons ...
分类:
其他好文 时间:
2016-12-25 09:40:29
阅读次数:
253