- 博客(26)
- 收藏
- 关注
原创 Codeforces-Round 394#C-Dasha and Password'
C. Dasha and Passwordtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter overcoming the stairs Dasha cam
2017-02-01 10:41:49
342
原创 Codeforces-Round 394#B-Dasha and friends
B. Dasha and friendstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRunning with barriers on the circle tr
2017-02-01 10:40:01
475
原创 Codeforces-Round 394#A-Dasha and Stairs
A. Dasha and Stairstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOn her way to programming school tiger
2017-02-01 10:38:10
344
原创 mysql 1045
注意高版本mysql有字段改变了use mysql;update user set authentication_string=password('yourpassword') where user='root' ;
2016-11-10 15:16:57
370
原创 Kostya the Sculptor Codeforces Round#378-D(逻辑+排序)
D. Kostya the Sculptortime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputKostya is a genial sculptor, he has
2016-11-01 15:01:03
379
原创 Hexo-用自己的页面做首页
Demo见:https://jacklightchen.github.io/然后具体步骤请见:https://jacklightchen.github.io/blog/2016/10/27/Hexo-用自己的页面做首页/
2016-10-27 20:07:49
6339
3
原创 自用模板
import java.io.*;import java.util.*;import java.util.regex.Matcher;import java.util.regex.Pattern;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in
2016-10-26 19:38:26
284
原创 POJ 3461 Oulipo(KMP详解)
OulipoTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 36962 Accepted: 14918DescriptionThe French author Georges Perec (1936–1982) once wrote a book, La
2016-10-21 10:07:10
491
原创 Exams Codeforces Round#377-D(贪心+二分)
D. Examstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasiliy has an exam period which will continue for n days. He has to pass exams on m subjects. Subjects are numbered from 1 to m.About every
2016-10-18 10:08:27
520
原创 Sanatorium Codeforces Round#377-C(逻辑)
C. Sanatoriumtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasiliy spent his vacation in a sanatorium, came back and found that he completely forgot details of his vacation!Every day there was a
2016-10-18 10:05:16
488
原创 SHUOJ 1611 矩阵连乘问题(dp)
Description给定n个矩阵A1,A2,…,An,其中,Ai与Aj+1是可乘的,i=1,2,…,n-1。你的任务是要确定矩阵连乘的运算次序,使计算这n个矩阵的连乘积A1A2…An时总的元素乘法次数达到最少。例如:3个矩阵A1,A2,A3,阶分别为10×100、100×5、5×50,计算连乘积A1A2A3时按(A1A2)A3所需的元素乘法次数达到最少,为7500次。In
2016-10-13 14:02:34
1066
原创 SHUOJ 2065 Jazz_Charles的Dog数列(矩阵快速幂)
Jazz_Charles的Dog数列Jazz_Charles发现了一个数列称为Dog数列: A[1] = 1 A[2] = 1 A[n] = A[n-1] + 8*A[n-2]onisac看到这个数列之后,问了Jazz_Charles一个简单的问题,给定一个整数n,求A[n]是多少?Jazz_C
2016-10-10 10:33:39
994
原创 Text Document Analysis Codeforces Round#375-B
B. Text Document Analysistime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputModern text editors usually show s
2016-10-04 10:38:19
486
原创 The New Year: Meeting Friends Codeforces Round#375-A
A. The New Year: Meeting Friendstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are three friend livi
2016-10-04 10:34:41
318
原创 Verse Pattern Codeforces Intel Round-B
B. Verse Patterntime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a text consisting of n lines.
2016-10-02 10:05:43
349
原创 Broken Clock Codeforces Intel Round-A
A. Broken Clocktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a broken clock. You know, that
2016-10-02 09:44:22
404
原创 Passwords Codeforces Round#374-B
B. Passwordstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya is managed to enter his favourite site C
2016-10-01 17:48:21
463
原创 异或交换两数的陷阱
以下是错误代码:import java.io.*;import java.util.*;public class Main { public static void main(String[] args) { long []shu={1,2,4,3,5,2,432,5,32,41,2}; quickSort(shu,0,shu.length-1); for(long a:
2016-09-25 19:38:41
433
原创 Anatoly and Cockroaches Codeforces Round#373-B
B. Anatoly and Cockroachestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAnatoly lives in the university d
2016-09-24 15:12:44
463
原创 hdu-5835-续缘之路
DanganronpaTime Limit: 2000/1000 MS (Java/Others) Memory LiDescription Chisa Yukizome works as a teacher in the school. She prepares many gifts, which consist of n kinds with a[i] quantit
2016-08-15 19:00:12
590
原创 hdu5842-Lweb and String-续缘之路
Lweb and StringTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem DescriptionLweb has a string S.Oneday, he decided to transform this stri
2016-08-15 14:35:15
298
原创 hdu5832-A water problem-续缘之路
A water problemTime Limit: 5000/2500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem DescriptionTwo planets named Haha and Xixi in the universe and they were created w
2016-08-15 13:07:23
335
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人