Problem Description There are a group of students. Some of them may know each other, while others don't. For example, A and B know each other, B and C ...
分类:
其他好文 时间:
2018-05-08 14:44:39
阅读次数:
177
DreamGrid has integers . DreamGrid also has queries, and each time he would like to know the value of for a given number , where , . Input There are m ...
分类:
其他好文 时间:
2018-05-08 14:37:23
阅读次数:
201
一、ssh-keygen 概述: 就是为了让linux机器之间使用ssh不需要用户名和密码。采用了数字签名RSA或者DSA来完成这个操作 两台机器A、B (A访问B不需要输入SSH密码) A机器操作: ls ~/.ssh/ authorized_keys id_rsa id_rsa.pub know ...
分类:
其他好文 时间:
2018-05-07 19:43:36
阅读次数:
169
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 least. You have to ...
分类:
其他好文 时间:
2018-05-03 01:08:09
阅读次数:
234
Problem Description There are a lot of trees in an area. A peasant wants to buy a rope to surround all these trees. So at first he must know the minim ...
分类:
其他好文 时间:
2018-05-03 01:05:21
阅读次数:
198
描述 For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whether the ...
分类:
其他好文 时间:
2018-05-02 20:56:41
阅读次数:
175
class Solution { public: // O(n) // The idea is to maintain a window for all chars seen so far. // For [1,0,2,3,4], i = 0, we know the window should a... ...
分类:
其他好文 时间:
2018-04-30 16:44:36
阅读次数:
177
DreamGrid has integers . DreamGrid also has queries, and each time he would like to know the value of for a given number , where , . Input There are m ...
分类:
其他好文 时间:
2018-04-29 20:30:08
阅读次数:
340
题目描述: For a web developer, it is very important to know how to design a web page's size. So, given a specific rectangular web page’s area, your job by ...
分类:
其他好文 时间:
2018-04-28 19:20:31
阅读次数:
133
http://exam.upc.edu.cn/problem.php?cid=1292&pid=5 题目描述 As you know, escape rooms became very popular since they allow you to play the role of a video ...
分类:
其他好文 时间:
2018-04-28 01:25:54
阅读次数:
178