• codeforce 621A(水题)

    时间:2023-11-12 19:59:21

    A. Wet Shark and Odd and Eventime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday, Wet Shark is...

  • hdu 5210 delete 水题

    时间:2023-11-11 22:17:24

    DeleteTime Limit: 1 Sec  Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5210Descriptionwld有n个数(a1,a2,...,an),他希望进行k次删除一个数的操作,使得最后剩下...

  • cf118A(水题)

    时间:2023-11-11 14:41:43

    题意就是讲给出的字符串元音字母去掉,在每个辅音字母前加点,且小写输出。。。注意y也要去掉(以我英语挂科的水平也知道y是辅音字母)。。。水题。。直接上代码好了。。。 #include <iostream> #include <stdio.h> #include <stri...

  • fzuoj Problem 2182 水题

    时间:2023-11-10 20:45:36

    http://acm.fzu.edu.cn/problem.php?pid=2182Problem 2182 水题Accept: 188    Submit: 277Time Limit: 1000 mSec    Memory Limit : 32768 KB Problem Descriptio...

  • UVa 400 (水题) Unix ls

    时间:2023-11-10 16:24:04

    题意:有n个文件名,排序后按列优先左对齐输出。设最长的文件名的长度为M,则最后一列长度为M,其他列长度为M+2.分析:这道题很简单,但要把代码写的精炼,还是要好好考虑一下的。lrj的代码中有两个亮点,一个是print子函数,一个就是行数的计算。用心体会 #include <iostream&g...

  • Acdream 1111:LSS(水题,字符串处理)

    时间:2023-11-10 11:33:41

    LSSTime Limit: 20000/10000 MS (Java/Others) Memory Limit: 128000/64000 KB (Java/Others)SubmitStatistic Next ProblemProblem DescriptionTime flies, four...

  • 11.07图论水题Test

    时间:2023-11-10 11:33:55

    11.07图论水题Test题目描述做法\(BSOJ6378\)在\(i\)位置可以到\(i+a_i\)或\(i+b_i\)求\(1\rightarrow n\)字典序最小路径判可达性后贪心\(dfs\)\(BSOJ5154\)过长裸的期望\(dp\)\(BSOJ5155\)多次询问:树上路径\(x\...

  • CF 1008B Turn the Rectangles(水题+贪心)

    时间:2023-11-10 11:31:49

    There are n rectangles in a row. You can either turn each rectangle by 90 degrees or leave it as it is. If you turn a rectangle, its width will be hei...

  • Poj1298_The Hardest Problem Ever(水题)

    时间:2023-11-10 11:26:20

    一、DescriptionJulius Caesar lived in a time of danger and intrigue. The hardest situation Caesar ever faced was keeping himself alive. In order for him...

  • CF 1042A Benches——二分答案(水题)

    时间:2023-11-10 11:23:56

    题目:http://codeforces.com/problemset/problem/1042/A#include<iostream>#include<cstdio>#include<cstring>#include<algorithm>using ...

  • CF 1042 A Benches —— 二分答案(水题)

    时间:2023-11-10 11:23:48

    题目:http://codeforces.com/problemset/problem/1042/A代码如下:#include<iostream>#include<cstdio>#include<cstring>#include<algorithm>#...

  • SRM 584 第一次玩TopCoder。。。只水题一道。。。

    时间:2023-11-10 11:22:35

    第一次topcoder,以前老感觉没有资格去做tc,cf什么的,现在已经慢慢接触了。感觉还可以,还是有让我们这些蒻菜安慰的水题。tc的确很好玩,用客户端比赛,还有各种规则,而且还是只编写一个类提交上去,最后还能cha别人(虽然我还没cha过),具体规则看大神写的这篇文章。好吧,我的第一次TC的SRM...

  • POJ 2017 No Brainer(超级水题)

    时间:2023-11-10 11:13:21

    一、DescriptionZombies love to eat brains. Yum.InputThe first line contains a single integer n indicating the number of data sets.The following n lines ...

  • uva 489 Hangman Judge(水题)

    时间:2023-09-21 19:46:38

    题目:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=430题意:两个字符串,第二个不能错七次,不能重复思路:今天是帮学弟看题的,没帮...

  • hdu 2108:Shape of HDU(计算几何,判断多边形是否是凸多边形,水题)

    时间:2023-08-29 16:45:20

    Shape of HDUTime Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4972    Accepted Submission(s): 22...

  • A - I Think I Need a Houseboat HDU - 1065(水题)

    时间:2023-08-26 12:58:08

    题意:给你一个半圆,半圆以面积每年增加50平方英里的速度扩张。问(x, y)在多少年后被覆盖、思路:emmm,其实最开始,还是打表的,因为每一年的半圆的半径可以算出来。啊啊啊啊,其实这个方法是可以的。但是!!!wa了!为什么?因为  ∏ 只可以取3.1415926  所以一直wa。然后,看了网上的题...

  • hdu 1051:Wooden Sticks(水题,贪心)

    时间:2023-08-13 22:25:09

    Wooden SticksTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10423    Accepted Submission(s): ...

  • ny525 一道水题

    时间:2023-08-13 22:26:07

    一道水题时间限制:1000 ms  |  内存限制:65535 KB 难度:2描述 今天LZQ在玩一种小游戏,但是这游戏数有一点点的大,他一个人玩的累,想多拉一些人进来帮帮他,你能写一个程序帮帮他吗?这个游戏是这样的:有一行数字,如果我们把这行数字中的‘5’都看成空格,那么就得到一行用空格分割的若干...

  • LibreOJ #6165. 一道水题

    时间:2023-08-13 22:19:57

    二次联通门 : LibreOJ #6165. 一道水题/* LibreOJ #6165. 一道水题 欧拉线性筛 其实题意就是求区间[1, n]所有数的最小公倍数 那么答案就是所有质因子最大幂次的乘积 水题开心。。*/#include <cstdio>#inc...

  • [ Luogu 4626 ] 一道水题 II

    时间:2023-08-13 22:19:43

    \(\\\)\(Description\)求一个能被\([1,n]\) 内所有数整除的最小数字,并对 \(100000007\) 取模\(N\in [1,10^8]\)\(\\\)\(Solution\)一道卡常好题 好吧是我常数太大了考虑将限制区间内所有数质因数分解,对每一个质因子\(i\)记录...