• 水题 Codeforces Round #303 (Div. 2) A. Toy Cars

    时间:2023-11-16 08:24:06

    题目传送门 /* 题意:5种情况对应对应第i或j辆车翻了没 水题:其实就看对角线的上半边就可以了,vis判断,可惜WA了一次 3: if both cars turned over during the collision. 是指i,j两辆车,而不是全部 */ #in...

  • Codeforces Round #303 (Div. 2) A. Toy Cars 水题

    时间:2023-11-16 08:02:12

     A. Toy Cars Time Limit: 20 Sec  Memory Limit: 256 MB题目连接http://codeforces.com/contest/545/problem/ADescriptionLittle Susie, thanks to her older broth...

  • ytu 1985:C语言实验——保留字母(水题)

    时间:2023-11-14 18:46:07

    C语言实验——保留字母Time Limit: 1 Sec  Memory Limit: 64 MBSubmit: 136  Solved: 59[Submit][Status][Web Board]Description编一个程序,输入一个字符串,将组成字符串的所有非英文字母的字符删除后输出。Inp...

  • ytu 1998:C语言实验——删除指定字符(水题)

    时间:2023-11-14 18:40:56

    C语言实验——删除指定字符Time Limit: 1 Sec  Memory Limit: 64 MBSubmit: 327  Solved: 211[Submit][Status][Web Board]Description从键盘输入一个字符串给str和一个字符给c,删除str中的所有字符c并输出...

  • ytu 1301:Excel地址转换(水题,进制转换)

    时间:2023-11-14 18:39:03

    Excel地址转换Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 41  Solved: 11[Submit][Status][Web Board]DescriptionExcel是最常用的办公软件。每个单元格都有唯一的地址表示。比如:第12行第4列表示...

  • ytu 1304:串的简单处理(水题)

    时间:2023-11-14 18:26:46

    串的简单处理Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 39  Solved: 11[Submit][Status][Web Board]Description串的处理在实际的开发工作中,对字符串的处理是最常见的编程任务。本题目即是要求程序对用户输入...

  • codeforces 339C Xenia and Bit Operations(线段树水题)

    时间:2023-11-14 18:15:53

    转载请注明出处: http://www.cnblogs.com/fraud/          ——by fraudXenia and Bit OperationsXenia the beginner programmer has a sequence a, consisting of 2n non...

  • codeforces 655A A. Amity Assessment(水题)

    时间:2023-11-13 10:42:23

    题目链接:A. Amity Assessmenttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBessie the cow and her b...

  • CROC 2016 - Elimination Round (Rated Unofficial Edition) A. Amity Assessment 水题

    时间:2023-11-13 10:35:25

    A. Amity Assessment题目连接:http://www.codeforces.com/contest/655/problem/ADescriptionBessie the cow and her best friend Elsie each received a sliding puz...

  • 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>#...