08 2019 档案

摘要:这代码还是刚学前端的时候,从学长(DaLao)那里抄来的,单独写成common.css,用的时候直接引很方便 常用的也就这些,一般够用了 阅读全文
posted @ 2019-08-30 17:13 Xxiaoyu 阅读(280) 评论(0) 推荐(0) 编辑
摘要:万能的jquery: 简单的css: 阅读全文
posted @ 2019-08-30 16:48 Xxiaoyu 阅读(817) 评论(0) 推荐(0) 编辑
摘要:Undoubtedly you know of the Fibonacci numbers. Starting with F1 = 1 and F2 = 1, every next number is the sum of the two previous ones. This results in 阅读全文
posted @ 2019-08-30 16:16 Xxiaoyu 阅读(117) 评论(0) 推荐(0) 编辑
摘要:http://codeforces.com/gym/101190/attachments Problem A.Abbreviation Input file: abbreviation.in Output file: abbreviation.out An abbreviation (from La 阅读全文
posted @ 2019-08-23 10:26 Xxiaoyu 阅读(356) 评论(0) 推荐(0) 编辑
摘要:http://codeforces.com/gym/101190/attachments Input file: hard.in Output file: hard.out Helen had come upon a piece of code that uses a lot of “magical 阅读全文
posted @ 2019-08-23 10:06 Xxiaoyu 阅读(200) 评论(0) 推荐(0) 编辑
摘要:http://codeforces.com/gym/101190/attachments 题意: 第一位大写,剩下小写的不小于两位的单词, 连续若干(大于等于两个)这样的单词连续(用空格间隔)可以把他们的首写字母提出来再来个空格加个括号把单词放括号里,其余不变,输出出来就行了 这字符串模拟乍一看挺简 阅读全文
posted @ 2019-08-22 20:26 Xxiaoyu 阅读(213) 评论(0) 推荐(0) 编辑
摘要:传送门: http://codeforces.com/gym/102299/problem/I Sobytiynyy Proyekt Casino is located in San Petersburg, one of the most beautiful cities in Russia, kn 阅读全文
posted @ 2019-08-21 20:41 Xxiaoyu 阅读(194) 评论(0) 推荐(0) 编辑
摘要:One of the biggest challenges in an online course platform is to recommend to a student one of its over 800 courses. For instance, João took courses o 阅读全文
posted @ 2019-08-21 19:31 Xxiaoyu 阅读(155) 评论(0) 推荐(0) 编辑
摘要:Russian writers are known worldwide. One of the main Russian authors is Fyódor Dostoyévskiy. The influence of his works outgrew literature itself and 阅读全文
posted @ 2019-08-21 19:23 Xxiaoyu 阅读(142) 评论(0) 推荐(0) 编辑
摘要:There are n houses in the village and some bidirectional roads connecting them. Every day peole always like to ask like this "How far is it if I want 阅读全文
posted @ 2019-08-20 20:37 Xxiaoyu 阅读(128) 评论(0) 推荐(0) 编辑
摘要:听说这道题和vector更配哦~ 用vector存放盟友,这道题就非常简单了 题意: 一个由C个国家组成的联盟,有一天L离开了,对于任意国家,只要盟友少于之前的一半,他也会离开,问X会不会离开 思路: 用vector记录与当前国家相连的国家,num数组记录开始各个国家的盟友数目,lost记录离开联盟 阅读全文
posted @ 2019-08-20 15:32 Xxiaoyu 阅读(109) 评论(0) 推荐(0) 编辑
摘要:Homer: Marge, I just figured out a way to discover some of the talents we weren’t aware we had. Marge: Yeah, what is it? Homer: Take me for example. I 阅读全文
posted @ 2019-08-19 10:51 Xxiaoyu 阅读(136) 评论(0) 推荐(0) 编辑
摘要:Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize 阅读全文
posted @ 2019-08-19 08:58 Xxiaoyu 阅读(95) 评论(0) 推荐(0) 编辑
摘要:一水题 Lweb has a string S. Oneday, he decided to transform this string to a new sequence. You need help him determine this transformation to get a seque 阅读全文
posted @ 2019-08-17 20:08 Xxiaoyu 阅读(100) 评论(0) 推荐(0) 编辑
摘要:Two planets named Haha and Xixi in the universe and they were created with the universe beginning. There is 73 days in Xixi a year and 137 days in Hah 阅读全文
posted @ 2019-08-17 19:54 Xxiaoyu 阅读(114) 评论(0) 推荐(0) 编辑
摘要:某省调查乡村交通状况,得到的统计表中列出了任意两村庄间的距离。省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能间接通过公路可达即可),并要求铺设的公路总长度为最小。请计算最小的公路总长度。 Input 测试输入包含若干测试用例。每个测试用例的第1行给 阅读全文
posted @ 2019-08-16 09:02 Xxiaoyu 阅读(110) 评论(0) 推荐(0) 编辑
摘要:Input file: dream.in Output file: standard output Balloon Color: Pink Before the World Cup, we would like to form the ultimate dream team. The team th 阅读全文
posted @ 2019-08-15 17:22 Xxiaoyu 阅读(216) 评论(0) 推荐(0) 编辑
摘要:就说两比较有代表性的题。 食物链 POJ 1182 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。有人用两种说法对这N个动物所构成的食物链关系进行描述:第一种说 阅读全文
posted @ 2019-08-15 10:20 Xxiaoyu 阅读(99) 评论(0) 推荐(0) 编辑
摘要:大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和seeyou一样多。但seeyou的手中只有两个杯子,它们的容量分别是N 毫升和M 毫升 可乐的体积为S (S<101)毫升 ( 阅读全文
posted @ 2019-08-15 10:17 Xxiaoyu 阅读(103) 评论(0) 推荐(0) 编辑
摘要:很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。 这让很多学生很反感。 不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。 Input 本题目包含多组测试,请处理到文件结束。 在每个测试的第一行 阅读全文
posted @ 2019-08-15 10:15 Xxiaoyu 阅读(131) 评论(0) 推荐(0) 编辑
摘要:In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecutive metallic 阅读全文
posted @ 2019-08-15 10:12 Xxiaoyu 阅读(79) 评论(0) 推荐(0) 编辑
摘要:杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。 杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消除个别的士司机和乘客的心理障碍,更安全地服务大众。 不吉利的数字为所有含有4或62的号码。例如: 62315 73418 8891 阅读全文
posted @ 2019-08-15 09:34 Xxiaoyu 阅读(91) 评论(0) 推荐(0) 编辑
摘要:Input file: buffcraft.in Output file: buffcraft.out Time limit: 2 seconds Memory limit: 256 megabytes Brenda enjoys a new role-playing game Buffcraft. 阅读全文
posted @ 2019-08-14 19:50 Xxiaoyu 阅读(193) 评论(0) 推荐(0) 编辑
摘要:Lately the communication between planets has been an important issue, which is why the Earth has made many efforts to be connected to every other plan 阅读全文
posted @ 2019-08-13 16:35 Xxiaoyu 阅读(205) 评论(0) 推荐(0) 编辑
摘要:Jeronimo the bear loves numbers and he is planning to write n numbers in his notebook. After writing the first m numbers, Jeronimo felt that he was sp 阅读全文
posted @ 2019-08-13 14:47 Xxiaoyu 阅读(191) 评论(0) 推荐(0) 编辑
摘要:A polygon is a plane figure that is bounded by a finite amount of straight line segments closing in a loop to form a closed polygonal chain. The segme 阅读全文
posted @ 2019-08-13 14:21 Xxiaoyu 阅读(163) 评论(0) 推荐(0) 编辑
摘要:Alex has two magic machines A and B. Machine A will give you 2x + 1 coins if you insert x coins in it, machine B will give you 2x + 2. Alex has no coi 阅读全文
posted @ 2019-08-13 14:14 Xxiaoyu 阅读(224) 评论(0) 推荐(0) 编辑
摘要:Schoolboy Vasya is interested in the problem of distinguishing prime numbers. He has decided to develop his own testing method for it. Unfortunately, 阅读全文
posted @ 2019-08-12 20:53 Xxiaoyu 阅读(158) 评论(0) 推荐(0) 编辑
摘要:Vasily is a college student who likes to keep everything in order. One of his hobbies is software. Yesterday he installed a new operating system Windo 阅读全文
posted @ 2019-08-12 18:30 Xxiaoyu 阅读(167) 评论(0) 推荐(0) 编辑
摘要:Albert is a well-known inventor. He’s the one who designed an electronic weather station that periodically track all kinds of weather parameters and r 阅读全文
posted @ 2019-08-12 17:35 Xxiaoyu 阅读(145) 评论(0) 推荐(0) 编辑
摘要:面值有1, 2, 5, 10, 20, 50, 100,输入n(n<=100),求凑成n的种数 阅读全文
posted @ 2019-08-12 09:46 Xxiaoyu 阅读(381) 评论(0) 推荐(0) 编辑
摘要:Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Be 阅读全文
posted @ 2019-08-10 15:52 Xxiaoyu 阅读(150) 评论(0) 推荐(0) 编辑
摘要:You are given NN points on a plane. These points are precisely the set of vertices of some regular NN-gon. Koosaga, an extreme villain, is challenging 阅读全文
posted @ 2019-08-10 14:46 Xxiaoyu 阅读(338) 评论(0) 推荐(0) 编辑
摘要:Yu Zhou likes to play Go with Su Lu. From the historical research, we found that there are much difference on the rules between ancient go and modern 阅读全文
posted @ 2019-08-10 09:13 Xxiaoyu 阅读(957) 评论(0) 推荐(0) 编辑
摘要:John never knew he had a grand-uncle, until he received the notary's letter. He learned that his late grand-uncle had gathered a lot of money, somewhe 阅读全文
posted @ 2019-08-09 20:21 Xxiaoyu 阅读(344) 评论(0) 推荐(0) 编辑
摘要:Jesus, what a great movie! Thousands of people are rushing to the cinema. However, this is really a tuff time for Joe who sells the film tickets. He i 阅读全文
posted @ 2019-08-09 08:49 Xxiaoyu 阅读(307) 评论(0) 推荐(0) 编辑
摘要:都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大把的馅饼。说来gameboy的人品实在是太好了,这馅饼别处都不掉,就掉落在他身旁的10米范围内。馅饼如果掉在了地上当然就不能吃了,所以gameboy马上卸下身上的背包去接。但由于小径两侧都不能站人,所以他只能在小径上接。 阅读全文
posted @ 2019-08-08 21:35 Xxiaoyu 阅读(152) 评论(0) 推荐(0) 编辑
摘要:Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and know little about this 阅读全文
posted @ 2019-08-08 10:14 Xxiaoyu 阅读(126) 评论(0) 推荐(0) 编辑
摘要:某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹. 怎么办呢?多搞几套系统呗!你说 阅读全文
posted @ 2019-08-08 09:30 Xxiaoyu 阅读(172) 评论(0) 推荐(0) 编辑
摘要:"OK, you are not too bad, em... But you can never pass the next test." feng5166 says. "I will tell you an odd number N, and then N integers. There wil 阅读全文
posted @ 2019-08-08 09:10 Xxiaoyu 阅读(239) 评论(0) 推荐(0) 编辑
摘要:In the modern time, Search engine came into the life of everybody like Google, Baidu, etc. Wiskey also wants to bring this feature to his image retrie 阅读全文
posted @ 2019-08-05 08:47 Xxiaoyu 阅读(472) 评论(0) 推荐(1) 编辑
摘要:吉哥又想出了一个新的完美队形游戏! 假设有n个人按顺序站在他的面前,他们的身高分别是h[1], h[2] … h[n],吉哥希望从中挑出一些人,让这些人形成一个新的队形,新的队形若满足以下三点要求,则就是新的完美队形: 1、挑出的人保持原队形的相对顺序不变,且必须都是在原队形中连续的;2、左右对称, 阅读全文
posted @ 2019-08-04 14:24 Xxiaoyu 阅读(210) 评论(0) 推荐(1) 编辑
摘要:Andy the smart computer science student was attending an algorithms class when the professor asked the students a simple question, “Can you propose an 阅读全文
posted @ 2019-08-04 14:18 Xxiaoyu 阅读(212) 评论(0) 推荐(1) 编辑
摘要:There are n men ,every man has an ID(1…n).their ID is unique. Whose ID is i and i-1 are friends, Whose ID is i and i+1 are friends. These n men stand 阅读全文
posted @ 2019-08-04 14:16 Xxiaoyu 阅读(400) 评论(0) 推荐(1) 编辑
摘要:Alice and Bob has just learned how to find average of some numbers. They got really excited anddecided to come up with a game about finding average. T 阅读全文
posted @ 2019-08-04 14:11 Xxiaoyu 阅读(188) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示