首页 > 其他
【笔试】14、判断这一天是这一年的第几天
/** * 题目:输入某年某月某日,判断这一天是这一年的第几天? * 时间:2015年7月29日08:31:58 * 文件:Lianxi14.java * 作者:cutter_point */ package bishi.zuixin50.t2015729; import java.util.*; public class Lianxi14 { public static ...
分类:其他   时间:2015-08-10 20:02:08    收藏:0  评论:0  赞:0  阅读:236
HNU11374:GREAT+SWERC=PORTO(DFS)
Problem description We want to have a great SWERC at Porto this year and we approached this challenge in several ways. We even framed it as a word addition problem, similar to the classic SEND+...
分类:其他   时间:2015-08-10 20:01:58    收藏:0  评论:0  赞:0  阅读:370
【笔试】15、输入三个整数x,y,z,请把这三个数由小到大输出。
/** * 题目:输入三个整数x,y,z,请把这三个数由小到大输出。 * 时间:2015年7月29日11:01:06 * 文件:Lianxi15.java * 作者:cutter_point */ package bishi.zuixin50.t2015729; import java.io.*; public class Lianxi15 { public static ...
分类:其他   时间:2015-08-10 20:01:38    收藏:0  评论:0  赞:0  阅读:474
POJ 3667 Hotel 【线段树 区间合并 + Lazy-tag】
Hotel Time Limit: 3000MS Memory Limit: 65536K 链接:POJ 3667     Description The cows are journeying north to ThunderBay in Canada to gain cultural enrichme...
分类:其他   时间:2015-08-10 20:01:28    收藏:0  评论:0  赞:0  阅读:171
【笔试】16、输出9*9口诀。
/** * 题目:输出9*9口诀。 * 时间:2015年7月30日08:09:49 * 文件:Lianxi16.java * 作者:cutter_point */ package bishi.zuixin50.t2015730; import java.io.*; public class Lianxi16 { public static void main(String[...
分类:其他   时间:2015-08-10 20:01:18    收藏:0  评论:0  赞:0  阅读:334
NOIP2009 Hankson的趣味题
求出满足条件的x的个数:gcd(x,a0) = a1  lcm(x,b0) = b1 我们不难得到gcd(x/a1,a0/a1) = 1  gcd(b1/x,b0/b1) = 1 以前上数论的时候讲过这道题,结果我没有去及时写,然后就不会做了。。。。暴搜其实也能拿80分。。。 参考了一下网上的题解点击打开链接...
分类:其他   时间:2015-08-10 20:01:08    收藏:0  评论:0  赞:0  阅读:204
535 Error: authentication failed
1、错误描述535 Error: authentication failed Exception in thread "main" javax.mail.AuthenticationFailedException at javax.mail.Service.connect(Service.java:267) at javax.mail.Service.connect(Service.java:...
分类:其他   时间:2015-08-10 20:00:48    收藏:0  评论:0  赞:0  阅读:245
HNU11376:Golf Bot
Problem description Input The first line has one integer: N, the number of different distances the Golf Bot can shoot. Each of the following N lines has one integer, ki, the di...
分类:其他   时间:2015-08-10 20:00:28    收藏:0  评论:0  赞:0  阅读:218
HDU 4686 (推公式+矩阵快速幂)
HDU 4686 (推公式+矩阵快速幂) 2013年多校联合训练...
分类:其他   时间:2015-08-10 20:00:08    收藏:0  评论:0  赞:0  阅读:172
HNU13377:Book Club(DFS)
Problem description Porto’s book club is buzzing with excitement for the annual book exchange event! Every year, members bring their favorite book and try to find another book they like that is...
分类:其他   时间:2015-08-10 19:59:59    收藏:0  评论:0  赞:0  阅读:159
Map Labeler (poj 2296 二分+2-SAT)
题意:平面上有n个点,每个点画一个正方形并且该点要落在正方形上边或者下边的中间,问满足条件的最大正方形的边长是多少。 思路:二分边长mid,建图用2-SAT作为判断条件。 i表示画在上面,~i表示画在下面 if|xi-xj|>=mid continue; else if |yi-yj|>=2*mid continue; else if |yi-yj|==0 then i->~j,~i->j,j->~i,~j->i; else if |yi-yj|>0 then ~i->i,j->~j; else |yi-y...
分类:其他   时间:2015-08-10 19:59:48    收藏:0  评论:0  赞:0  阅读:271
uva 10118 记忆化搜索
Little Bob is playing a game. He wants to win some candies in it - as many as possible. There are 4 piles, each pile contains N candies. Bob is given a basket which can hold at most 5 candies. Each ...
分类:其他   时间:2015-08-10 19:59:38    收藏:0  评论:0  赞:0  阅读:209
Fbric、Ansible、Docker、Chaos Monkey:DevOps工具的年中回顾
Fbric、Ansible、Docker、Chaos Monkey:DevOps工具的年中回顾【编者按】近日,Cyber Engineering Solutions Group 技术经理 Hasan Yasar 在 SEI 攥文盘点了当下流行的 DevOps 思想和工具,其中包括Fabric、Ansible、Docker、Chaos Monkey等。本文系 OneAPM 联合高效运维联合编译整理:在...
分类:其他   时间:2015-08-10 19:59:28    收藏:0  评论:0  赞:0  阅读:261
使用SVM对于许多类型的多维数据分类
最近,我做了一件小事,使用SVM正确8三维级数据分类,在线搜索,我们发现二分的问题大家都在讨论二维数据,一些决定自己的研究。我首先参考opencvtutorial。这也是二维数据的二分类问题。然后通过学习研究,发现别有洞天,遂实现之前的目标。在这里将代码贴出来。这里实现了对三维数据进行三类划分。以供...
分类:其他   时间:2015-08-10 19:58:08    收藏:0  评论:0  赞:0  阅读:337
探讨行内元素转换为块级元素
行内元素和块级元素对于前端来说是一个很重要的概念。在CSS中,只有块级元素有物理属性,而元素则有三种形态:1. 块级元素:有物理属性,width,height写值起作用,而且要占据一行。2. 行内元素:没有物理属性。但是margin,padding值有用。不占据一行,后边可以有兄弟元素。3.即是块又...
分类:其他   时间:2015-08-10 19:57:28    收藏:0  评论:0  赞:0  阅读:446
atitit.浏览器插件解决方案----ftp插件 attilax 总结
atitit.浏览器插件解决方案----ftp插件attilax总结1.界面概览D:云盘同步文件夹p5p5f tp、demo.html12.初始化13.事实调用24.参考21.界面概览D:云盘同步文件夹p5p5f tp、demo.html2.解决方案插件法vs集成法。集成法更加的好用。3.初始化do...
分类:其他   时间:2015-08-10 19:57:18    收藏:0  评论:0  赞:0  阅读:260
最大子序列和 HDOJ 1003 Max Sum
题目传送门 1 /* 2 题意:求最大连续子序列和及两个端点 3 累积遍历算法 O(n):依照sum14 #include 15 #include 16 #include 17 #include 18 #include 19 #include 20 #include 21 #incl...
分类:其他   时间:2015-08-10 19:56:58    收藏:0  评论:0  赞:0  阅读:289
bzoj 1798
练下线段树,pushdown不把加和乘分开做就A了。。。就这被卡了好一会。虽然不造为什么,但是算了0.0 1 #include 2 #define inc(i,l,r) for(i=l;i=r;i--) 4 #define mem(a) memset(a,0.sizeof(a)) 5 #define...
分类:其他   时间:2015-08-10 19:56:08    收藏:0  评论:0  赞:0  阅读:164
hdu 5351 规律+大数
题目大意:定义了一种fib字符串,问第n个fib串的前m个字母前后相等串的最大长度,大约就是这样的其实主要读完题意的时候并没有思路,但是列几个fib字符串就会发现,除了fib1以外,所有串的前面都是一样的,后面的串就只是在前面串的基础上再贴一个串而已,因此很明显,这里的n其实读下来并没有什么用,基本...
分类:其他   时间:2015-08-10 19:55:38    收藏:0  评论:0  赞:0  阅读:267
方法的声明及简单调用
相同的类型的操作,不容重复的写代码 一 函数/方法的定义:一段有名字的代码段 语法: [方法修饰符列表] 返回值类型 方法名(参数1,参数2,参数3....){ 执行语句; } 1 方法修饰符列表是可选的:权限控制...
分类:其他   时间:2015-08-10 19:55:28    收藏:0  评论:0  赞:0  阅读:265
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!