码迷,mamicode.com
首页 >  
搜索关键字:friends    ( 1058个结果
NBUT 1223 Friends number
暴力,打表。 计算出每一个数的因子之和,可以枚举$i$,让后将$i$的倍数都加上$i$。发现这样的只有$71$对,然后暴力就可以了。 ...
分类:其他好文   时间:2017-03-28 18:39:07    阅读次数:168
Choose the best route 【Dijkstra】
Problem DescriptionOne day , Kiki wants to visit one of her friends. As she is liable to carsickness , she wants to arrive at her friend’s home as soo ...
分类:其他好文   时间:2017-03-27 23:58:37    阅读次数:330
Android开发时,那些相见恨晚的工具或网站!
本文来我在知乎话题Android开发时你遇到过什么相见恨晚的工具或网站?下的回答! 在实际Android开发过程确实会有很多相见恨晚的工具或网站出现,下面是我自己的一些分享。 1、源码网站 https://github.com/googlesamples Android系统每次推出一些新特性,Goo ...
分类:移动开发   时间:2017-03-24 00:24:02    阅读次数:240
Codeforces Round #395 (Div. 2) C
Description Each New Year Timofey and his friends cut down a tree of n vertices and bring it home. After that they paint all the n its vertices, so th ...
分类:其他好文   时间:2017-03-22 22:56:14    阅读次数:241
Farm Tour
题目描述 When FJ's friends visit him on the farm, he likes to show them around. His farm comprises N (1 <= N <= 1000) fields numbered 1..N, the first of w ...
分类:其他好文   时间:2017-03-19 17:32:41    阅读次数:216
杭电1213题解:一道最基础的并查集问题
Problem Description Today is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he needs at ...
分类:其他好文   时间:2017-03-08 20:24:13    阅读次数:360
codeforces 782B - The Meeting Place Cannot Be Changed
题意: 一条线上有n个人,每个人一个坐标值xi,每个人有一个最大行走速度vi,问如果要让这n个人走到线上某一个点,最少需要多少时间。 分析: 看起来是二分, 二分坐标。 二分区间变化的条件,一开始感觉是比较当前mid坐标左右人们用最快速度到达的平均时间, 后来具体写的时候感觉是比较当前mid坐标左右 ...
分类:其他好文   时间:2017-03-06 00:51:12    阅读次数:218
BZOJ 3916 friends
暴力。 ...
分类:其他好文   时间:2017-02-01 21:45:03    阅读次数:245
(Incomplete) Codeforces 394 (Div 2 only)
A. Dasha and Stairs 保证a,b不同时为0,而且a 和 b 的绝对值不超过1即可。(心态崩了的我强行写出一个暴力,枚举了所有的情况。) code: B. Dasha and friends 对于两个跑道,分别计算出每个片段的长度。固定第一个跑道的起点,枚举第二个跑道的起点,看两个跑 ...
分类:其他好文   时间:2017-02-01 10:32:19    阅读次数:174
Kattis - Virtual Friends
Virtual Friends Virtual Friends Virtual Friends These days, you can do all sorts of things online. For example, you can use various websites to make v ...
分类:其他好文   时间:2017-01-12 21:15:05    阅读次数:222
1058条   上一页 1 ... 38 39 40 41 42 ... 106 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!