![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
各种OJ题
文章平均质量分 50
Link_Ray
这个作者很懒,什么都没留下…
展开
-
ZOJ1003 Crashing Balloon
Crashing BalloonTime Limit: 2 Seconds Memory Limit: 65536 KBOn every June 1st, the Children's Day, there will be a game named "crashing balloon" on TV. The rule is very simple. On the原创 2017-07-31 20:27:52 · 407 阅读 · 0 评论 -
大数加法模板
#include <iostream>#include <cstring>#include <algorithm>#include <string>using namespace std;#define fre freopen("/Users/LinkRay/Desktop/in.txt","r",stdin);//每个人的路径都不同,别照...原创 2018-04-03 22:23:42 · 296 阅读 · 0 评论 -
Uva1593 代码对齐
输入若干行代码,要求各列单词的左边界对齐且尽量靠左。单词之间至少要有空一格。每个单词不超过80个字符,每行不超过180个字符,一共1000多行原创 2017-06-25 15:01:49 · 445 阅读 · 0 评论 -
HDU题目分类(转载)
链接:http://www.cnblogs.com/wangyumin/p/5323475.htmlhdu分类 基础题:1000、1001、1004、1005、1008、1012、1013、1014、1017、1019、1021、1028、1029、1032、1037、1040、1048、1056、1058、1061、1070、1076、1089、1090、1091、1092、1093、1094、转载 2017-10-08 22:00:13 · 363 阅读 · 0 评论 -
POJ2106 Boolean Expressions / Openjudge Boolean Expressions (递归)全局题号1108
The objective of the program you are going to produce is to evaluate boolean expressions as the one shown next: Expression: ( V | V ) & F & ( F | V )where V is for True, and F is for False. The expressions m原创 2017-08-01 19:14:57 · 745 阅读 · 2 评论 -
特殊密码锁,openjudge全局题号8496,已AC
a:特殊密码锁总时间限制: 1000ms 内存限制: 1024kB描述有一种特殊的二进制密码锁,由n个相连的按钮组成(n然而让人头疼的是,当你按一个按钮时,跟它相邻的两个按钮状态也会反转。当然,如果你按的是最左或者最右边的按钮,该按钮只会影响到跟它相邻的一个按钮。当前密码锁状态已知,需要解决的问题是,你至少需要按多少次按钮,才能将密码锁转变为所期望的目标状态。原创 2017-07-12 15:31:59 · 1681 阅读 · 1 评论 -
POJ1001Exponentiation,已AC
求高精度幂Time Limit: 500MS Memory Limit: 10000KTotal Submissions: 170398 Accepted: 41283Description对数值很大、精度很高的数进行高精度计算是一类十分常见的问题。比如,对国债进行计算就是属于这类问题。 现在要你解决的问题是:对一原创 2017-07-26 18:45:30 · 590 阅读 · 0 评论 -
POJ刷题顺序
地址:http://blog.csdn.net/thestoryofsnow/article/details/40942009POJ从简到难(按照AC数目排序)的列表如下,作为小弱的刷题顺序。大牛们可以看后面倒排的hard表,还有四道题没人拿到first blood.表格属性依次为:ID,Title, Ratio, AC, Submit1000 A+B Problem 0.55转载 2017-08-02 18:58:43 · 15166 阅读 · 0 评论 -
2019依图科技笔试题
室友笔试的题目,闲来没事做做,没有提交地址就懒得写代码了。题目一题解将图中第一种形状叫做a,第二种形状叫做b。组成的最小矩形的长度为1x3,即bb。1x4: bab1x5: baab1x6: baaab, bbbb问题转换为,给出数字n,为数字n可以由[3,n]中的数字组成的不同方案数。暴力打表#include <bits/stdc++.h>using name...原创 2019-08-09 22:19:20 · 1256 阅读 · 0 评论