09 2018 档案

zoj 4057
摘要:#include #include #include #include #include #include using namespace std; #define ll long long const int N =1e5+9; int t,n,a[N]; int b[50]; /* 要想两个数的异或结果比两者都大 必须两数的首位都为1,其他位... 阅读全文

posted @ 2018-09-18 09:32 cltt 阅读(185) 评论(0) 推荐(0) 编辑

zoj 4056
摘要:At 0 second, the LED light is initially off. After BaoBao presses the button 2 times, the LED light turns on and the value of the counter changes to 1 阅读全文

posted @ 2018-09-18 09:21 cltt 阅读(181) 评论(0) 推荐(0) 编辑

zoj 4054
摘要:#define ll long long const int N =1e5+9; int t; ll ans,tmp; char s[N]; int main() { scanf("%d",&t); while(t--) { scanf("%s",s); int l=strlen(s)... 阅读全文

posted @ 2018-09-18 00:27 cltt 阅读(184) 评论(0) 推荐(0) 编辑

zoj 4049
摘要:In computability theory, the halting problem is the problem of determining, from a description of an arbitrary computer program, whether the program w 阅读全文

posted @ 2018-09-18 00:12 cltt 阅读(291) 评论(0) 推荐(0) 编辑

判断两个字符串一样吗
摘要:1 string ss="jessie"; 2 int main() 3 { 4 scanf("%d",&t); 5 sort(ss.begin(),ss.end()); 6 while(t--){ 7 string s; 8 cin>>s; 9 for(int i=0;i='A'&&s[i]<='Z') s[i]+=32;//不区分大... 阅读全文

posted @ 2018-09-15 17:28 cltt 阅读(143) 评论(0) 推荐(0) 编辑

图上两点之间的第k最短路径的长度 ACM-ICPC 2018 沈阳赛区网络预赛 D. Made In Heaven
摘要:131072K One day in the jail, F·F invites Jolyne Kujo (JOJO in brief) to play tennis with her. However, Pucci the father somehow knows it and wants to 阅读全文

posted @ 2018-09-14 22:16 cltt 阅读(260) 评论(0) 推荐(0) 编辑

ACM-ICPC 2018 徐州赛区网络预赛 B. BE, GE or NE
摘要:In a world where ordinary people cannot reach, a boy named "Koutarou" and a girl named "Sena" are playing a video game. The game system of this video 阅读全文

posted @ 2018-09-13 21:31 cltt 阅读(359) 评论(0) 推荐(0) 编辑

poj 1986
摘要:Distance Queries Time Limit: 2000MS Memory Limit: 30000K Total Submissions: 16447 Accepted: 5768 Case Time Limit: 1000MS Description Farmer John's cow 阅读全文

posted @ 2018-09-13 19:44 cltt 阅读(222) 评论(0) 推荐(0) 编辑

ACM-ICPC 2018 徐州赛区网络预赛 A. Hard to prepare
摘要:262144K After Incident, a feast is usually held in Hakurei Shrine. This time Reimu asked Kokoro to deliver a Nogaku show during the feast. To enjoy th 阅读全文

posted @ 2018-09-12 23:59 cltt 阅读(176) 评论(0) 推荐(0) 编辑

ACM-ICPC 2018 徐州赛区网络预赛 G. Trace
摘要:There's a beach in the first quadrant. And from time to time, there are sea waves. A wave ( xx , yy ) means the wave is a rectangle whose vertexes are 阅读全文

posted @ 2018-09-11 22:23 cltt 阅读(284) 评论(0) 推荐(0) 编辑

hdu 5533
摘要:Dancing Stars on Me Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 2460 Accepted Submission(s) 阅读全文

posted @ 2018-09-11 20:11 cltt 阅读(151) 评论(0) 推荐(0) 编辑

ACM Changchun 2015 L . House Building
摘要:Have you ever played the video game Minecraft? This game has been one of the world's most popular game in recent years. The world of Minecraft is made 阅读全文

posted @ 2018-09-11 16:59 cltt 阅读(145) 评论(0) 推荐(0) 编辑

ACM Changchun 2015 J. Chip Factory
摘要:John is a manager of a CPU chip factory, the factory produces lots of chips everyday. To manage large amounts of products, every processor has a seria 阅读全文

posted @ 2018-09-11 15:36 cltt 阅读(165) 评论(0) 推荐(0) 编辑

一些小程序
摘要:1 2 3 4 5 6 是不换行的 --> 7 8 1到100以内的完数有 : 9 10 "); 21 } 22 } 23 %> 24 25 26 27 28 程序片创建Date对象 : "+date+""); int m=100; %> 的因子之和是(不包括) 1... 阅读全文

posted @ 2018-09-10 22:56 cltt 阅读(190) 评论(0) 推荐(0) 编辑

ACM-ICPC 2018 徐州赛区网络预赛 H. Ryuji doesn't want to study
摘要:262144K Ryuji is not a good student, and he doesn't want to study. But there are n books he should learn, each book has its knowledge a[i]a[i]. Unfort 阅读全文

posted @ 2018-09-09 21:00 cltt 阅读(525) 评论(0) 推荐(0) 编辑

ACM-ICPC 2018 徐州赛区网络预赛 F. Features Track
摘要:262144K Morgana is learning computer vision, and he likes cats, too. One day he wants to find the cat movement from a cat video. To do this, he extrac 阅读全文

posted @ 2018-09-09 19:11 cltt 阅读(358) 评论(0) 推荐(0) 编辑

ACM-ICPC 2018 徐州赛区网络预赛 I. Characters with Hash
摘要:Mur loves hash algorithm, and he sometimes encrypt another one's name, and call him with that encrypted value. For instance, he calls Kimura KMR, and 阅读全文

posted @ 2018-09-09 18:38 cltt 阅读(282) 评论(0) 推荐(0) 编辑

hdu 5437
摘要:Alisha’s Party Time Limit: 3000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 7514 Accepted Submission(s): 174 阅读全文

posted @ 2018-09-09 11:08 cltt 阅读(117) 评论(0) 推荐(0) 编辑

poj 1502
摘要:MPI Maelstrom Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 12087 Accepted: 7464 Description BIT has recently taken delivery of their new 阅读全文

posted @ 2018-09-08 20:36 cltt 阅读(105) 评论(0) 推荐(0) 编辑

ACM-ICPC 2018 沈阳赛区网络预赛 K. Supreme Number
摘要:A prime number (or a prime) is a natural number greater than 11 that cannot be formed by multiplying two smaller natural numbers. Now lets define a nu 阅读全文

posted @ 2018-09-08 19:29 cltt 阅读(268) 评论(0) 推荐(0) 编辑

ACM-ICPC 2018 沈阳赛区网络预赛 F. Fantastic Graph
摘要:"Oh, There is a bipartite graph.""Make it Fantastic." X wants to check whether a bipartite graph is a fantastic graph. He has two fantastic numbers, a 阅读全文

posted @ 2018-09-08 19:05 cltt 阅读(838) 评论(1) 推荐(0) 编辑

ACM-ICPC 2018 南京赛区网络预赛 B. The writing on the wall
摘要:Feeling hungry, a cute hamster decides to order some take-away food (like fried chicken for only 3030 Yuan). However, his owner CXY thinks that take-a 阅读全文

posted @ 2018-09-07 23:32 cltt 阅读(206) 评论(0) 推荐(0) 编辑

ACM-ICPC 2018 南京赛区网络预赛 J. Sum
摘要:A square-free integer is an integer which is indivisible by any square number except 1. For example, 6 = 2 * 3,6=2*3 is square-free, but 12 = 2^2 * 3, 阅读全文

posted @ 2018-09-06 23:02 cltt 阅读(156) 评论(0) 推荐(0) 编辑

法里数列
摘要:题意:给个小数p(0<=p<1),求差值与其最小的不可约分分数且分母不能超过n。 阅读全文

posted @ 2018-09-06 21:58 cltt 阅读(324) 评论(0) 推荐(0) 编辑

ACM-ICPC 2018 南京赛区网络预赛 L. Magical Girl Haze
摘要:262144K There are NN cities in the country, and MM directional roads from uu to v(1\le u, v\le n)v(1≤u,v≤n). Every road has a distance c_ici​. Haze is 阅读全文

posted @ 2018-09-04 21:21 cltt 阅读(217) 评论(0) 推荐(1) 编辑

状压dp
摘要://Poj 3254 Corn Fields Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 20258 Accepted: 10633 Description Farmer John has purchased a lush n 阅读全文

posted @ 2018-09-01 21:33 cltt 阅读(273) 评论(0) 推荐(0) 编辑

GYM 101350 G
摘要:G. Snake Rana time limit per test 4.0 s memory limit per test 256 MB input standard input output standard output G. Snake Rana time limit per test 4.0 阅读全文

posted @ 2018-09-01 19:38 cltt 阅读(282) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

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