题目链接:传送门 题目: E. Vasya and a Tree time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Vasya h ...
分类:
编程语言 时间:
2018-11-14 20:51:42
阅读次数:
343
题目链接:传送门 题目: B. Friends and Presents time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You ...
分类:
其他好文 时间:
2018-11-13 14:20:38
阅读次数:
162
Problem description: Georigia and Bob 在玩一个游戏。 Input: n = 3; p = { 1, 2 , 3} Output: Bob wins 思路:将其看成一种Nim游戏。 Code: ...
分类:
其他好文 时间:
2018-11-13 02:33:46
阅读次数:
173
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=4063 Input Output Sample Input Sample Output 题意: 说现在有 $n$ 个人打比赛,要你安排 $k$ 轮比赛,要求每轮每个人 ...
分类:
其他好文 时间:
2018-11-13 00:09:34
阅读次数:
402
LeetCode939最小面积矩形 给定在 xy 平面上的一组点,确定由这些点组成的矩形的最小面积,其中矩形的边平行于 x 轴和 y 轴。 如果没有任何矩形,就返回 0。 Input [[1,1],[1,3],[3,1],[3,3],[2,2]] Output 4 hint 1 ,int mmp; ...
分类:
其他好文 时间:
2018-11-12 14:54:50
阅读次数:
213
B. Taxi drivers and Lyft time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Taxi drivers ...
分类:
其他好文 时间:
2018-11-11 17:53:21
阅读次数:
122
A. Bicycle Chain time limit per test 2 seconds time limit per test 1 second memory limit per test 256 megabytes input:standard input output:standard o ...
分类:
其他好文 时间:
2018-11-11 01:01:15
阅读次数:
119
IO编程 IO在计算机中指Input/Output,也就是输入和输出。由于程序和运行时数据是在内存中驻留,由CPU这个超快的计算核心来执行,涉及到数据交换的地方,通常是磁盘、网络等,就需要IO接口。从磁盘读取文件到内存,就只有Input操作,反过来,把数据写到磁盘文件里,就只是一个Output操作。 ...
分类:
编程语言 时间:
2018-11-09 21:36:31
阅读次数:
211
C. Hacking Cypher time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Polycarpus participates ...
分类:
其他好文 时间:
2018-11-08 19:47:29
阅读次数:
210
C. Vasya and Robot time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Vasya and Robot tim ...
分类:
其他好文 时间:
2018-11-07 00:52:18
阅读次数:
180