摘要: 读入一个字符串,字符串中包含ZOJ三个字符,个数不一定相等,按ZOJ的顺序输出,当某个字符用完时,剩下的仍然按照ZOJ的顺序输出。 MY:(OUTPUT LIMIT EXCEED) 1 #include<cstdio> 2 #include<iostream> 3 #include<cstring> 阅读全文
posted @ 2019-01-23 21:22 邱涵的秘密基地 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 1 #include<cassert> 2 #include<cstdio> 3 #include<vector> 4 using namespace std; 5 const int maxm=500005,maxt=200005,maxn=100005; 6 int seq[maxm]; 7 i 阅读全文
posted @ 2019-01-22 21:37 邱涵的秘密基地 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 【bzoj2935】【Poi1999】原始生物 2935: [Poi1999]原始生物 Time Limit: 3 Sec Memory Limit: 128 MBSubmit: 145 Solved: 71[Submit][Status][Discuss] Description 原始生物的遗传密 阅读全文
posted @ 2019-01-22 11:57 邱涵的秘密基地 阅读(296) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-01-21 21:36 邱涵的秘密基地 阅读(3) 评论(0) 推荐(0) 编辑
摘要: P1801 黑匣子_NOI导刊2010提高(06) 题目描述 Black Box是一种原始的数据库。它可以储存一个整数数组,还有一个特别的变量i。最开始的时候Black Box是空的.而i等于0。这个Black Box要处理一串命令。 命令只有两种: ADD(x):把x元素放进BlackBox; G 阅读全文
posted @ 2019-01-21 21:23 邱涵的秘密基地 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Readme: Creat poems. 1 import re 2 import random 3 from collections import Counter 4 5 def Creat_Poem(number): 6 w=random.sample(poem,number) 7 for i 阅读全文
posted @ 2019-01-18 16:38 邱涵的秘密基地 阅读(155) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-12-31 12:20 邱涵的秘密基地 阅读(11) 评论(0) 推荐(0) 编辑
摘要: Dear friend, This game is created based on Dicken's Great Expectations. To colorful the contents, I add other elements inside. It's quite simple, but 阅读全文
posted @ 2018-12-30 21:51 邱涵的秘密基地 阅读(343) 评论(0) 推荐(0) 编辑
摘要: Genius ACM Advanced CPU Manufacturer (ACM) is one of the best CPU manufacturer in the world. Every day, they manufacture n CPU chips and sell them all 阅读全文
posted @ 2018-12-30 15:07 邱涵的秘密基地 阅读(300) 评论(0) 推荐(0) 编辑
摘要: NUMBER BASE CONVERSION Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 5976 Accepted: 2738 Description Write a program to convert numbers i 阅读全文
posted @ 2018-12-27 19:25 邱涵的秘密基地 阅读(354) 评论(0) 推荐(0) 编辑