Live2d Test Env

随笔分类 -  输入技巧

摘要:For each list of words, output a line with each word reversed without changing the order of the words. This problem contains multiple test cases! The 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(193) 评论(0) 推荐(0) 编辑
摘要:Language of FatMouseTime Limit: 10 Seconds Memory Limit:32768 KBWe all know that FatMouse doesn't speak English. But now he has to be prepared si... 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(168) 评论(0) 推荐(0) 编辑
摘要:zoj3778题目大意:有n个数,每一次操作你可以最多选择m个数自减一,求直到所有数都为零,的最小操作次数。第一想法肯定是贪心排序:用一个大根堆,每次选前面的min(m,n)个自减一,这... 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(115) 评论(0) 推荐(0) 编辑
摘要:Alice bought a lot of pairs of socks yesterday. But when she went home, she found that she has lost one of them. Each sock has a name which contains e 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(237) 评论(0) 推荐(0) 编辑
摘要:Root of the ProblemTime Limit: 2 Seconds Memory Limit:65536 KB Given positive integers B and N, find an integer A such that AN is as close as pos... 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(164) 评论(0) 推荐(0) 编辑
摘要:IBM Minus OneTime Limit: 2 Seconds Memory Limit:65536 KB You may have heard of the book '2001 - A Space Odyssey' by Arthur C. Clarke, or the film... 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(292) 评论(0) 推荐(0) 编辑
摘要:strlen能不用就不用#include#include#include#include#include#include#include#includeusing namespace std;char s[100010];int a[30];int main(){ int i,L; while(ge... 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(153) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionThere must be many A + B problems in our HDOJ , now a new one is coming.Give you two hexadecimal integers , your task is to calcula... 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(208) 评论(0) 推荐(0) 编辑
摘要:我想我是和Segmentation Fault有仇,我一直以为是空间开大的问题,然后一直减少空间,还是SF,谁让n没有给范围了,qwq。教训:以后注意输入范围和开的空间大小。#include#include#include#includeusing namespace std;int a[34000... 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(127) 评论(0) 推荐(0) 编辑
摘要:ZOJ2006(最小表示法) 题目大意:输出第一个字符串的最小字典序字串的下标!然后我居然想试一试string的erase的能力,暴力一下,然后20msAC了,尴尬的数据。。。。。。。。。。#include#incl... 阅读全文
posted @ 2017-09-27 21:06 nimphy 阅读(107) 评论(0) 推荐(0) 编辑

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