上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 34 下一页
摘要: 题目链接:http://codeforces.com/problemset/problem/672/D D. Robin Hood time limit per test 1 second memory limit per test 256 megabytes input standard inpu 阅读全文
posted @ 2019-11-01 16:29 执||念 阅读(223) 评论(0) 推荐(0)
摘要: 题目链接:http://codeforces.com/gym/101981/attachments 题目大意:输入两个串 问你第一个串能不能转化为第二个串,翻转次数无限制,但是每次只能翻转K个连续相同的字母 思路:找到两个串中连续的相等的K个字符,可以把他们提到串的最前面(也可以全部消掉,因为不管位 阅读全文
posted @ 2019-10-19 15:22 执||念 阅读(497) 评论(0) 推荐(0)
摘要: 题目链接:https://www.luogu.org/problem/P1337 题目描述 如图:有n个重物,每个重物系在一条足够长的绳子上。每条绳子自上而下穿过桌面上的洞,然后系在一起。图中X处就是公共的绳结。假设绳子是完全弹性的(不会造成能量损失),桌子足够高(因而重物不会垂到地上),且忽略所有 阅读全文
posted @ 2019-10-17 15:49 执||念 阅读(211) 评论(0) 推荐(0)
摘要: 题目链接:http://codeforces.com/gym/101981/attachments 题意:给你n个三维空间点(n<=100)要求找到一个离所有点最远的距离最小的点,并输出这个距离 思路:模拟退火,首先取一个值,代表答案点在的位置,然后暴力一遍所有的点,会得到里当前点最远的点是哪个 然 阅读全文
posted @ 2019-10-14 21:11 执||念 阅读(421) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4333 Revolving Digits Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)T 阅读全文
posted @ 2019-10-09 20:56 执||念 阅读(240) 评论(0) 推荐(0)
摘要: 题目链接:https://ac.nowcoder.com/acm/contest/1099/K 链接:https://ac.nowcoder.com/acm/contest/1099/K来源:牛客网 题目描述 Bobo 有 n 个列表 L1,L2,…,LnL_1, L_2, \dots, L_nL1 阅读全文
posted @ 2019-10-07 19:46 执||念 阅读(937) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #include<cmath> #include<vector> #include<map> #include<cstdlib> #include<fstream> #include<time.h> #include<list> using names 阅读全文
posted @ 2019-10-07 16:58 执||念 阅读(185) 评论(0) 推荐(0)
摘要: 学习链接:https://blog.csdn.net/ztzshiwo_cnyali/article/details/52221503 题目链接:http://poj.org/problem?id=3580 POJ 3580 splay超全模板题... 总共有6种操作,分别为MIN,INSERT,A 阅读全文
posted @ 2019-10-07 14:40 执||念 阅读(431) 评论(0) 推荐(0)
摘要: 题目链接:https://codeforces.com/problemset/problem/1131/D D. Gourmet choice time limit per test 2 seconds memory limit per test 256 megabytes input standa 阅读全文
posted @ 2019-10-05 10:11 执||念 阅读(222) 评论(0) 推荐(0)
摘要: 将数据输出到文件中 读取文件中的内容,将输出结果存到文件中 计算程序跑的时间,放在main函数开头和结尾:加头文件ctime 阅读全文
posted @ 2019-09-30 15:52 执||念 阅读(503) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 34 下一页