观看了网球比赛,来几张图片纪念一下。费德勒的一组双打: 给女子双打打伞: 妈妈的,耗时老长的一场比赛: 大小威廉姆斯: 图片上传很不友好啊
#精彩个人
原创
2022-11-11 15:03:01
79阅读
原题链接 考察:01分数规划+SPFA判环 思路: 和之前的最小环没什么区别,本题最难在建边.看题目很想当然的是二重for循环字符串建边,但是明显会TLE并且MLE, 考虑换一个思路, ababc + bckjaca -> aba bc kjaca 只考虑前面两个与结尾两个,就转化为 ab-> bc
转载
2021-05-07 00:59:00
64阅读
2评论
最近在看John E.Hopcroft,Rajeev Motwani,Jeffrey D.Ullman 三巨头写的Introduction to Automata Theory,Language,and Computation,想写一个Turing 机验证一下自己写的状态转移函数对不对。懒得很,网上搜了几个不错的。但Ruby Quiz 上的这个最简单。 162 T
转载
2024-08-24 21:36:39
50阅读
https://codeforces.com/contest/1562/pro
原创
2022-08-16 14:41:29
38阅读
SPOJ_4568
这个题目相当于判断每个圈圈是否是循环同构的,因此可以用字符串的最小表示法来判断。
#include<stdio.h>
#include<string.h>
#define MAXD 1010
int N, ini[MAXD][MAXD], g[MAXD][MAXD], a[MAXD << 3], b[MAXD << 3]
转载
2012-07-24 12:14:00
45阅读
2评论
想做出这道题需要三个技能点: 1,对于一个数x,x<<1为x的2倍,且在二进制视角看来,就是末尾多了一个0 2,题目说的k倍,k可以取特殊值,比如1,2 3,样例可能在扯淡有了以上三点前置知识,就可以开始构造了。 找到 xxxxxx xxxxxx0 或者 0xxxxxxxxx xxxxxxxxx 即 ...
转载
2021-10-03 21:31:00
94阅读
2评论
UVA_10985
L和R的间距能拉多远是取决于L与R之间的最短路,因此,水平悬挂的绳一定是L和R之间最短路的一个部分。
而水平的Ring一定满足到L与R的距离和是L与R之间最短路的长度,因此我们可以先把所有水平的Ring找出来,符合要求的线一定是这些水平Ring之间的连线,但水平Ring之间的连线不一定符合要求(当两个Ring位于同一位置且恰好两者之间有一条连线,这条连线就不符合要求)。
因此,
转载
2011-10-17 02:29:00
25阅读
http://www.elijahqi.win/archives/1168 DescriptionA word ring is a sequence of words where the last two letters of each word are the same as the first two letters of the next word (and the last two...
原创
2022-08-08 13:40:10
44阅读
题目链接:http://poj.org/problem?id=3509 题意:给你一个n*n的数字矩阵,那么他就会有(n+1)/2个#include
原创
2022-11-23 10:14:20
62阅读
【题目链接】:click here~~【代码】:/** Problem: Gym 100818I Olympic Parade* Running time: 15MS* Complier: G++* Author: herongwei* Create Time: 9:43 2016/4/30 星期六【题意】:给出N个数,找出没有恰好出现K次的那个数.【解题思路】:题目各种卡,开个1
原创
2022-07-29 16:56:41
25阅读
题目链接:://codeforces.com/problemset/problem/215/B Description The World Programming Olympics Medal is a metal disk, consisting of two parts: the fir
原创
2022-01-11 15:23:54
26阅读
Problem Description Dumbear likes to play the Chinese Rings (Baguenaudier). It’s a game p
原创
2023-04-23 15:39:43
44阅读
Problem D Rings'n'Ropes
Time Limit: 3 seconds
"Well, that seems to be the situation. But, I don't want that, and you don't want that, and Ringo here definitely doesn't want that."
转载
2013-12-03 10:37:00
53阅读
2评论
http://acm.hdu.edu.cn/showproblem.php?pid=2842开始真不懂题目的意思。。。大意:第一个环可以拿走;第N个环必须在前N-2个环全都拿走,第N-1个环没有拿走的基础上才能拿走。也就是说:_ _ 1 _ 这样的情况是不能直接拿第3个环的。第3个环应该是:1.拿走第1个环2.拿走第3个环3.放回第1个环4.拿走第2个环5.
原创
2022-08-09 18:07:30
535阅读
Why do multinational corporations like Coca-Cola, Visa, and Samsung, sponsor the IOC( International Olympic Committee)?
原创
2024-09-23 14:01:10
9阅读
之前学习搭建了ROR环境并简单写了个小web程序,用起来感觉的确效率高,规约优于配置的理念的确能帮我们舍弃部分的配置,减少了配置的烦恼,记得从开始工作就开始用Spring,都是配置在XML里,用的习惯,没任何不妥,也没觉得麻烦,可能是没比较,一个东西用起来只要不要太麻烦也不会想着改进它,后来一个同事跟我聊天时就说Spring的配置有点麻
转载
2024-02-07 10:25:25
76阅读
题目描述给出n,m,l,r,modn,m,l,r,modn,m,l,r,mod表示一个(n+1)∗(p;lt;=109n...
原创
2023-02-21 09:46:49
49阅读
题干:The World Programming Olympics Medal is a metal disk, consisting of two parts: t
原创
2022-06-15 10:06:25
87阅读
链接题意:给出你一个01串,让你从中选取两端[l1,r1],[l2,r2][l_1,r_1],[l_2,r_2][l1,r1],[l2,r2],(l1,r1)(l_1,r_1)(l1,r1
原创
2022-07-15 10:32:19
18阅读
Think you're cool cause you can blow o's when you smoke? Mother Nature has still got you beat. Mount Etna in Sicily, Italy took a little break from erupting to blow O-shaped smoke rings hundreds of fe
翻译
精选
2013-11-15 15:15:37
523阅读