E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Professor
Professor
GukiZ's Robot(水~)
Description一个机器人每步可以往四周八个方向走,问该机器人从(x1,y1)到(x2,y2)所需的最少步数是多少Input四个整数x1,y1,x2,y2(-10^9 #include #include usingnamespacestd; typedeflonglongll; llx1,y1,x2,y2,ans; intmain() { while(~scanf("%I64d%I64d%I
V5ZSQ
·
2016-02-25 19:00
Professor
GukiZ and Two Arrays 二分
D.ProfessorGukiZandTwoArrays题目连接:http://www.codeforces.com/contest/620/problem/DDescriptionProfessorGukiZhastwoarraysofintegers,aandb.Professorwantstomakethesumoftheelementsinthearrayasaascloseaspossi
qscqesze
·
2016-02-25 15:00
【CodeForces 620D】
Professor
GukiZ and Two Arrays
题题意两个数列,一个有n个数,另一个有m个数,让你最多交换两次两个数列的数,使得两个数列和的差的绝对值最小,求这个差的绝对值、最少交换次数、交换数对分析交换0次、1次可得到的最小的差可以枚举出来。交换两次,如果枚举就超时了。我们预处理把第一个数列两两组合的所有情况存储起来为u数组,并且按照大小排序,接着在另一个数列里枚举两个数后,用二分的方法,求交换后使得差的绝对值最小的u。二分查找最接近的值可以
水郁
·
2016-02-12 16:00
Professor
GukiZ and Two Arrays
D.ProfessorGukiZandTwoArrays ProfessorGukiZhastwoarraysofintegers, a and b.Professorwantstomakethesumoftheelementsinthearray a sa ascloseaspossibletothesumoftheelementsinthearray b sb.Sohewantstominim
焰
·
2016-01-28 15:00
Professor
GukiZ's Robot 水
A.ProfessorGukiZ'sRobot ProfessorGukiZmakesanewrobot.Therobotareinthepointwithcoordinates (x1, y1) andshouldgotothepoint (x2, y2).Inasinglesteptherobotcanchangeanyofitscoordinates(maybebothofthem)byon
zxhl
·
2016-01-24 19:00
Professor
GukiZ's Robot
A.ProfessorGukiZ'sRobottimelimitpertest0.5secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputProfessorGukiZmakesanewrobot.Therobotareinthepointwithcoordinates(x1, y1)andshouldg
helloiamclh
·
2016-01-22 22:00
Professor
GukiZ's Robot
A.ProfessorGukiZ’sRobottimelimitpertest0.5secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputProfessorGukiZmakesanewrobot.Therobotareinthepointwithcoordinates(x1, y1)andshouldg
why850901938
·
2016-01-22 01:00
你学球技,球记送大礼——跟教授The
professor
学习底线背后运球,球记送你价值1247元NIKE球鞋一双
球记有奖征稿正式开始啦!开始啦!开始啦!奖品就是下面这双价值1247元的NIKEHYPERDUNK!!!先看看下面这个动作耍得防守队员团团转,有没有?防守队员完全不知道你要去哪儿?弧顶还是要上篮?傻傻分不清楚!把防守队员甩在身后的快感真是没谁了!~小编曾经在球场上就被这个动作打爆过进攻球员屡试不爽小编每次都中计……(喂!你四不四撒!?)所以小编下定决心,要练好它!特意找来教授的教学视频,还翻译成了
球记
·
2016-01-18 00:00
hihocoder #1136 :
Professor
Q's Software
时间限制:10000ms单点时限:1000ms内存限制:256MB描述ProfessorQdevelopsanewsoftware.ThesoftwareconsistsofNmoduleswhicharenumberedfrom1toN.Thei-thmodulewillbestartedupbysignalSi.IfsignalSi isgeneratedmultipletimes,thei-
hexianhao
·
2016-01-17 18:00
hihoCoder
BigInteger权限判断示例
这里我介绍一种很常用,也比较
Professor
的权限控制思路。
zzc1684
·
2015-12-23 17:00
接口与virtual,override,new关键字
一,类继承接口1,首先我们定义一个简单的ITeacher接口,并定义一个
Professor
类继承它。
·
2015-12-09 15:33
override
Cheng,
Professor
Cheng,
Professor
University of California, Davis Any criticisms, comments, and suggestions for
·
2015-11-13 17:49
SSO
FUZZ测试方法介绍
2011-07-18 14:43:52| 分类: 测试思想 | 标签: |字号 大中小 订阅 Fuzz这个名词来自于
Professor
·
2015-11-13 16:17
测试
Artificial Intelligence: How To Build A Robot - Udacity
Artificial Intelligence: How To Build A Robot - Udacity Sebastian Thrun is a Research
Professor
of
·
2015-11-13 14:35
Build
英文投稿,询问进展,催稿 模版信
投稿 Dear
Professor
×××: One of my paper, which has a title of “×
·
2015-11-13 11:13
模版
超声测温(ultrasound thermometry, ultrasound temperature estimation / imaging)领域知名学者之一:劉浩澧/Hao-Li Liu (http://ee.cgu.edu.tw/files/15-1007-556,c236-1.php)
劉浩澧/Hao-Li Liu 教授/
Professor
Department of Electrical Engineering Chang Gung University,
·
2015-11-13 03:44
File
hdu4649
Professor
Tian
http://acm.hdu.edu.cn/showproblem.php?pid=4649 枚举当前状态是0或者是1的概率 其实就枚举1的概率 最后概率乘这个数 位运算用得不熟 老出错 1 #include <iostream> 2 #include<cstdio> 3 #include<cstring> 4 #incl
·
2015-11-13 00:59
SSO
Don't be a dick!
Professor
: Yeah, so we're gonna have to go until five today. You: Don't be a dick
·
2015-11-12 23:04
DI
Crazy
Professor
(并查集)
1628 加了些数论知识 先看下剩余类的概念 一个整数被正整数n除后,余数有n种情形:0,1,2,3,…,n-1,它们彼此对模n不同余。这表明,每个整数恰与这n个整数中某一个对模n同余。这样一来,按模n是否同余对整数集进行分类,可以将整数集分成n个两两不相交的子集。我们把(所有)对模n同余的整数构成的一个集合叫做模n的一个剩余类。 对于a%k=x b%k=y 若x!=
·
2015-11-12 21:47
SSO
codeforces 70D
Professor
's task(动态二维凸包)
题目链接:http://codeforces.com/contest/70/problem/D Once a walrus
professor
Plato asked his programming
·
2015-11-12 21:21
codeforces
【POJ】2492 A bug's life ——种类并查集
65536K Total Submissions: 28211 Accepted: 9177 Description Background
Professor
·
2015-11-12 20:47
life
invite用法
请求 ;征求 [O2] After his lecture the visiting
professor
invited questions. 访问教授作完讲座就请大家提问题
·
2015-11-12 19:30
vi
hdu 4649
Professor
Tian 多校联合训练的题
这题起初没读懂题意,悲剧啊,然后看了题解写完就AC了 题意是给一个N,然后给N+1个整数 接着给N个操作符(只有三种操作 即 或 ,与 ,和异或 | & ^ )这样依次把操作符插入整数之间就可以得到一个表达式 接着给出 N 给浮点数(在0~1之间表示概率 )表示的是 操作符和他右边的整数丢失的概率。 例如下面这组数据 1 1 2
·
2015-11-12 09:16
SSO
Create Query From Entity Manager
1 File:
Professor
.java 2 3 4 import javax.persistence.Entity; 5 import javax.persistence.Id
·
2015-11-12 09:02
manager
Intro to Mathematical Logic
A
professor
said, In the west, only those top math depts have logicians, those mediocre ones do need
·
2015-11-11 18:29
Math
POJ 1486
Memory Limit: 10000K Total Submissions: 1901 Accepted: 688 Description
Professor
·
2015-11-11 17:57
poj
poj 1008:Maya Calendar(模拟题,玛雅日历转换)
Submissions: 64795 Accepted: 19978 Description During his last sabbatical,
professor
·
2015-11-11 17:02
calendar
权限控制算法
这里我介绍一种很常用,也比较
Professor
的权限控制思路。这里我用java语言描述,其实都差不多的。自己转一下就可以了。
·
2015-11-11 17:08
权限控制
HDU 4649
Professor
Tian
Professor
Tian Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/32768
·
2015-11-11 16:17
SSO
UVA 12464 -
Professor
Lazy, Ph.D.(恶搞)
题目链接 当以为是神题的时候,其实他是个恶搞题。挺不错的一个题。耐下心来,仔细想想就OK。 View Code 1 #include <stdio.h> 2 #include <string.h> 3 int main() 4 { 5 long long a,b,n; 6 while(scanf("%lld%l
·
2015-11-11 15:54
lazy
Alchemy用户手册:快速入门
比如,在univ.mln的最上面,你会看到谓词
professor
, student等,你也会看到附带参数类型的函数motherOf。.mln文件中出现的第一个谓词或函数作为该MLN的声明。
·
2015-11-11 14:04
快速入门
toj 2970 Hackle Number
65536K Total Runs: 183 Accepted Runs: 81 When I was in college one of my chemistry
professor
·
2015-11-11 13:46
number
toj 2841 Bitwise Reverse
Seconds Memory Limit: 65536K Total Runs: 1520 Accepted Runs: 1025
Professor
·
2015-11-11 13:10
bit
POJ1486 Sorting Slides
Memory Limit: 10000K Total Submissions: 2246 Accepted: 822 Description
Professor
·
2015-11-11 12:11
sort
Computer vision scientist David Mumford wins National Medal of Science
The White House announced that
Professor
Emeritus David Mumford of Brown University is one of 10 National
·
2015-11-11 11:00
visio
HDU 4649
Professor
Tian(DP)
题目链接 暴力水过的,比赛的时候T了两次,优化一下初始化,终于水过了。 1 #include <cstdio> 2 #include <cstring> 3 #include <string> 4 #include <algorithm> 5 using namespace std; 6 #define MOD 10000
·
2015-11-11 10:33
SSO
[POJ 1008] Maya Calendar C++解题
10000K Total Submissions: 62297 Accepted: 19221 Description During his last sabbatical,
professor
·
2015-11-11 01:36
calendar
一个关于Spatial Data Infrastructure的报告
报告题目: Spatial Data Infrastructure in Sweden: Context, concepts and technologies 报告人:
Professor
·
2015-11-10 22:20
struct
【翻译】Nios design contest 2007-001
Institution: Hanyang University Participants: Sung-Wook Kim, Eun-Chan Kim, Bum-Su Jeong Instructor:
Professor
·
2015-11-09 13:30
design
POJ 2492 A Bug's Life (并查集)
65536K Total Submissions: 30130 Accepted: 9869 Description Background
Professor
·
2015-11-08 16:58
life
hdu 4649
Professor
Tian 反状态压缩+概率DP
思路:反状态压缩——把数据转换成20位的01来进行运算 因为只有20位,而且&,|,^都不会进位,那么一位一位地看,每一位不是0就是1,这样求出每一位是1的概率,再乘以该位的十进制数,累加,就得到了总体的期望。 对于每一位,状态转移方程如下: f[i][j]表示该位取前i个数,运算得到j(0或1)的概率是多少。 f[i][1]=f[i-1][1]*p[i]+根据不同运算符和第i位的
·
2015-11-08 15:36
SSO
幻方 (载自:http://www.mathsgreat.com/magic_sq.html)
Professor
Stewart's Cabinet of Mathematical Curiosi
·
2015-11-08 13:53
html
cf499B-Lecture 【map】
Lecture You have a new
professor
of graph theory and he speaks very quickly.
·
2015-11-08 11:55
map
POJ 2492 A Bug's Life
Memory Limit: 65536K Total Submissions: 21605 Accepted: 7043 Description Background
Professor
·
2015-11-07 15:14
life
poj 3604
Professor
Ben
质因数分解;牛人推导公式(1^3+2^3+……+(1+a1)^3)*……*(1^3+2^3+……+(1+ai)^3)…… 链接http://poj.org/problem?id=3604 1 #include<iostream> 2 #include<stdio.h> 3 #include<algorithm> 4 #include&l
·
2015-11-07 14:41
360
hdu 1718 Rank
The
professor
has posted a list of student numbers and marks. Compute Jackson’
·
2015-11-07 10:53
rank
ZOJ 3410 Layton's Escape
3410 Layton's Escape Time Limit: 2 Seconds Memory Limit: 65536 KB
Professor
·
2015-11-07 10:05
escape
微软2016校园招聘在线笔试-
Professor
Q's Software
题目2 :
Professor
Q's Software 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述
Professor
Q develops
·
2015-11-06 07:37
software
ZJU 1589
Professor
John
分析:经典的传递闭包,用floyd-warshall算法,是O(n^3)。 for(int k = 1; k <= n; k++) for(int i = 1; i <= n; i++)  
·
2015-11-02 16:16
SSO
POJ - 3974 Palindrome
DescriptionAndy the smart computer science student was attending an algorithms class when the
professor
·
2015-11-02 12:53
poj
上一页
1
2
3
4
5
6
7
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他