2 pengpeng02

尚未进行身份认证

暂无相关简介

等级
TA的排名 15w+

E - Text Editor Gym - 101466E

One of the most useful tools nowadays are text editors, their use is so important that the Unique Natural Advanced Language (UNAL) organization has studied many of the benefits working with them.The...

2019-08-15 20:43:35

Vertex Cover

frog has a graph with n vertices v(1),v(2),…,v(n) and m edges (v(a1),v(b1)),(v(a2),v(b2)),…,(v(am),v(bm)).She would like to color some vertices so that each edge has at least one colored vertex....

2019-08-14 16:52:27

Carries

frog has n integers a1,a2,…,an, and she wants to add them pairwise.Unfortunately, frog is somehow afraid of carries (进位). She defines hardness h(x,y)for adding x and y the number of carries invo...

2019-08-14 16:51:10

Censor

frog is now a editor to censor so-called sensitive words (敏感词).She has a long text p. Her job is relatively simple -- just to find the first occurence of sensitive word wand remove it.frog rep...

2019-08-14 15:40:18

hdu 6026 Deleting Edges

Deleting EdgesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 2224Accepted Submission(s): 742Problem DescriptionLittle Q is crazy...

2019-08-06 20:27:23

hdu 6570 wave

WaveTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 733Accepted Submission(s): 315Problem DescriptionAvin is studying series. A ser...

2019-08-05 21:00:38

2019 CCPC江西省赛 C HDU 6569 Trap

Avin is studying isosceles trapezoids. An isosceles trapezoid is a convex quadrilateral with two opposite parallel bases, two equal-length legs and positive area. In this problem, we further require t...

2019-08-05 11:28:18

HDU 6567 Cotree(2019CCPC-江西省赛 A)

Problem DescriptionAvin has two trees which are not connected. He asks you to add an edge between them to make them connected while minimizing the function ∑ni=1∑nj=i+1dis(i,j), where dis(i,j) repre...

2019-08-05 11:19:46

win10专业版简单激活

最近饱受Windows未激活的打扰,虽然对我用电脑影响不大,但一次次的弹出看着也烦。在网上找了很久,终于找到了一个可用的产品密钥了。首先以管理员身份打开cmd,即命令提示符。用win+R或者在开始处的windows系统这一栏里找命令提示符然后右键以管理员运行都行。接下来以此输入以下命令。第一条:slmgr.vbs/upk这一句的作用是卸载已安装的产品密钥。不要也不会影响,但建...

2019-06-02 21:07:47

2019 第十六届浙江省赛部分题解

A:Vertices in the PocketDreamGrid has just found an undirected simple graph with n vertices and no edges (that's to say, it's a graph with n isolated vertices) in his right pocket, where the vertice...

2019-04-28 19:37:10

黑龙江大学程序设计竞赛(重现赛)

虽然我们是打的团队赛,但我并没有做出什么贡献,貌似本人一个都没过,全程划水。全靠摊了两个好队友才A了七个出来。但赛后发现其实这些题我都是写得出的(除了F那个超时我真的没办法之外)。题目都挺简单的,但我想复杂了Problem AFind the Nth Characterhttps://ac.nowcoder.com/acm/contest/877/A题意:一个如题的字符串,求字符串中...

2019-04-26 19:36:50

c++与批处理结合对文件批量重命名

本人沉迷动漫无法自拔,由于网络问题,我是先下载后再看的。相信不少朋友都遇到过类似的问题,网上下的文件名太长或者没什么用。想重命名,但问题是,如果文件少倒还好,万一文件有几百个,一个个重命名不得累死。如果能写个程序自动进行重命名该多好,这时候我就想到用批处理了。这种事用批处理最方便不过了,遍历文件夹内的文件,然后重命名。可如果要截取的是文件名中间的一部分,用批处理就会很麻烦了。比如下面这种“ひぐらし...

2019-01-09 21:10:59

HDU 1065

I Think I Need a HouseboatTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15316    Accepted Submission(s): 4281 Problem DescriptionFred...

2018-09-23 16:48:52

1901: 赏赐 OR 灾难

1901: 赏赐 OR 灾难     Time Limit: 1 Sec    Memory Limit: 128 Mb    Submitted: 418    Solved: 110    Description大G南征北战终于打下了大片土地成立了G国,大G在开国大典上传召帮助自己南征北战的三大开国元勋小A,小B,小C进殿,并要赏赐三人大量宝物以显示天恩浩荡。大G在征服其他国家的时候...

2018-07-14 14:26:54

I(1005): Binary Search Tree analog

I(1005): Binary Search Tree analog    Time Limit: 1 Sec    Memory Limit: 128 Mb    Submitted: 102    Solved: 57    DescriptionBinary Search Tree, abbreviated as BST, is a kind of binary tree maint...

2018-07-14 13:29:23

V(1982): 小M的移动硬盘

V(1982): 小M的移动硬盘    Time Limit: 1 Sec    Memory Limit: 128 Mb    Submitted: 171    Solved: 66    Description最近小M买了一个移动硬盘来储存自己电脑里不常用的文件。但是他把这些文件一股脑丢进移动硬盘后,觉得这些文件似乎没有被很好地归类,这样以后找起来岂不是会非常麻烦?小M最终决定要把这...

2018-07-14 13:19:45

X(1956): 数字和

X(1956): 数字和    Time Limit: 1 Sec    Memory Limit: 128 Mb    Submitted: 71    Solved: 25    Description长者对小明施加了膜法,使得小明每天起床就像马丁的早晨一样。 今天小明早上起来后发现身体虽然变小,头脑依旧不变变傻。他有一条纸带,上面有n个数字,第i个数字为Ai。 他想把纸带选三个位置p...

2018-07-14 13:02:57

S(1022): 菜鸟和大牛

S(1022): 菜鸟和大牛    Time Limit: 1 Sec    Memory Limit: 128 Mb    Submitted: 101    Solved: 62    Descriptionblue和AutoGerk是好朋友。他们的相同点是都喜欢研究算法,不同点是AutoGerk已是大牛而blue还是菜鸟。blue经常拿一些自以为很难的问题去问AutoGerk,想难倒...

2018-07-14 12:40:58

2026: Daydreaming Stockbroker

2026: Daydreaming Stockbroker     Time Limit: 1 Sec    Memory Limit: 512 Mb    Submitted: 396    Solved: 122    DescriptionGina Reed, the famous stockbroker, is having a slow day at work, and bet...

2018-07-13 15:17:36

1974: 神奇药水

1974: 神奇药水     Time Limit: 1 Sec    Memory Limit: 256 Mb    Submitted: 696    Solved: 159    Description       对于csuxushu来说,能够在CSU(California State University)组织2017年的ACM暑期集训让他感到十分荣幸。 csuxushu是一名...

2018-07-13 14:36:24

查看更多

勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv2
    勤写标兵Lv2
    授予每个自然周发布4篇到6篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。