随笔分类 - 水题
摘要:Design T-ShirtTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionSoon after he decided to design a T-sh...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1012分析:就按题目给的公式一步步输出就行了。 1 #include 2 #include 3 #include 4 int main() 5 { 6 double e; 7 printf("n e...
阅读全文
摘要:RobotProblem DescriptionA robot is a mechanical or virtual artificial agent, usually an electro-mechanical machine that is guided by a computer progra...
阅读全文
摘要:Keep on Truckin'Problem DescriptionBoudreaux and Thibodeaux are on the road again . . ."Boudreaux, we have to get this shipment of mudbugs to Baton Ro...
阅读全文
摘要:SafecrackerProblem Description=== Op tech briefing, 2002/11/02 06:42 CST ==="The item is locked in a Klein safe behind a painting in the second-floor ...
阅读全文
摘要:EncodingProblem DescriptionGiven a string containing only 'A' - 'Z', we could encode it using the following method:1. Each sub-string containing k sam...
阅读全文
摘要:http://codeforces.com/problemset/problem/556/A题意:给一个01字符串,把所有相邻的0和1去掉,问还剩下几个0和1。题解:统计所有的0有多少个,1有多少个,最后答案就是两者不同的个数。#include #include #include #include ...
阅读全文
摘要:BiliBili, ACFun… And More!Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)Some of you may have already noticed, there ...
阅读全文

浙公网安备 33010602011771号