摘自<<Outliers>> chapter 2 Just look at the stream of opportunitires that came Bill Joy's way. Because he happened to go to a farsighted school like the
分类:
其他好文 时间:
2016-02-26 06:56:20
阅读次数:
199
题 题意 骑自行车,等0时开始最早出发的人,一起出发,然后被别人超过时,就追上去,终点距离是4.5km,速度单位是km/s,求到达的时间(s)。 分析 贪心,找0时开始最早到的即可。 代码 #include<cstdio> #include<cmath> int n=1,v,b; double c,
分类:
其他好文 时间:
2016-02-18 09:55:14
阅读次数:
171
Marks Distribution Time limit: 3.000 seconds In an examination one student appeared in N subjects and has got total T marks. He has passed in all the
分类:
其他好文 时间:
2016-02-14 22:16:54
阅读次数:
252
The princess’s diary HELEN: Time for school! Stop daydreaming. You’ll be late for school. (Sings): sometimes I have dreams. I picture myself flying. T
分类:
其他好文 时间:
2016-02-13 18:24:38
阅读次数:
309
Doing Homework again Problem Description Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher
分类:
其他好文 时间:
2016-02-11 23:50:33
阅读次数:
371
这个题的意思是有一个有向图, 每个顶点可以发送软件到与其相连的顶点上, 现在问1,至少发送给几个顶点能满足所有顶点都收到软件, 2:如果想让这个图变成强连通图,至少添几条边。 特例是给定的图是一个强连通图的话答案是1, 0. 一般情况下我们先将这个图的强连通分量求出来缩成一个点然后统计入度为0的点和
分类:
Web程序 时间:
2016-02-03 23:30:58
阅读次数:
379
下面我们来创建一个MVC 5.0的ASP.Net程序,并且将它部署到Azure Web Site上 通过Visual Studio 2015创建Web Project 在选择ASP.net模板的地方,更改验证方式 在选择验证方式时选择“Work And School Accounts”,在文本框中填...
分类:
Web程序 时间:
2016-02-02 14:17:34
阅读次数:
235
VariableExplanationExample String A string of text. To signify that the variable is a string, you should enclose it in quote marks. var myVariable = '
分类:
编程语言 时间:
2016-02-01 22:31:14
阅读次数:
214
It’s been about one week since I started the iOS immersive class at The Flatiron School in NYC. To say I’ve learned a lot in 7 days is an understateme
分类:
其他好文 时间:
2016-02-01 15:14:12
阅读次数:
193
drop database if exists school; // 如果存在SCHOOL则删除create database school; // 建立库SCHOOLuse school; // 打开库SCHOOLcreate table teacher( // 建立表TEACHER id in....
分类:
数据库 时间:
2016-01-24 14:16:07
阅读次数:
271