
其他oj氺题
文章平均质量分 79
dxx_111
这个作者很懒,什么都没留下…
展开
-
cf B. Cards
B. Cardstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputCatherine has a deck of n cards, each of which is原创 2016-03-06 15:27:57 · 390 阅读 · 0 评论 -
UESTC oj 758 P酱的冒险旅途
P酱的冒险旅途Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)Submit StatusP酱是个可爱的男孩子,有一天他在野外冒险,不知不觉中走入了一块神奇的地方。他在0时刻进入这个地方,每一时刻他都只能向某一特定的方向移动长度为1的距离,原创 2016-03-05 21:04:39 · 667 阅读 · 0 评论 -
UESTC oj 谕神的密码
谕神的密码Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)Submit Status谕神是集训队里面智商数一数二的大神,在他的电脑里储存着他在学习的东西。每天都要通过学习来提高自己的知识水平。然而,作为一个长者,谕神不愿意将自己的学习资料原创 2016-03-05 20:01:53 · 560 阅读 · 0 评论 -
hdoj 1148 - Mad Counting 【水题(模拟)】【周赛】
1148 - Mad CountingPDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBMob was hijacked by the mayor of the Town "TruthTown". Mayor原创 2015-12-06 22:05:58 · 354 阅读 · 0 评论 -
lightoj 1043 - Triangle Partitioning【数学题】【周赛】
1043 - Triangle PartitioningPDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBSee the picture below.You are given AB, AC and B原创 2015-12-06 22:15:39 · 356 阅读 · 0 评论 -
lightOJ 1148 - Mad Counting 【水题】
1148 - Mad CountingPDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBMob was hijacked by the mayor of the Town "TruthTown". Mayor原创 2015-11-20 22:49:04 · 406 阅读 · 0 评论 -
zqoj 1810: water problem II 【(map的用法)水题】【郑大校赛】
1810: water problem IITime Limit: 1 Sec Memory Limit: 128 MBSubmit: 98 Solved: 56SubmitStatusWeb BoardDescription相信大家对A+B问题最熟悉了。实验室有个女人(传说中的潘同学)经常卡在这种题目上。。。有一次,他边敷着面膜边做题,遇见了这样一个题原创 2015-12-11 21:18:43 · 485 阅读 · 0 评论 -
zqoj 1815: easy problem 【打表】【郑大校赛】
1815: easy problemTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 103 Solved: 49SubmitStatusWeb BoardDescription给你一个数字N,N的范围是1~1000000,求一个最小的正整数M,这个数字M的各个位的数字加上它本身之和恰好为N。当然,如果没有解,输出0。原创 2015-12-11 21:23:04 · 341 阅读 · 0 评论 -
NBUT 1655 [1655] 木块拼接
[1655] 木块拼接时间限制: 1000 ms 内存限制: 65535 K问题描述好奇的skyv95想要做一个正方形的木块,现在有三种颜色的矩形木块,颜色分别为"A","B","C"。他现在很想把三个木块拼接成一个大正方形,现在求助于你们,问分别给你们三种颜色矩形的两个边长,判断是否能组成一个正方形。输入依次输入颜色为A的矩形的两边长度,颜色为B的矩形的两边长原创 2016-03-06 16:16:29 · 392 阅读 · 0 评论 -
CodeForces 598D 【dfs+技巧省时】
B - BTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 598DDescriptionIgor is in the museum and he wants to see as ma原创 2016-03-06 19:23:39 · 512 阅读 · 0 评论 -
zzuli 1872: Which Offer?【水】
1872: Which Offer?Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 183 Solved: 129SubmitStatusWeb BoardDescription经过不懈的努力,wx终于拿到了offer,果然搞ACM拿高薪呀~但是拿到offer的同时也犯了难,究竟该选择哪个offer呢,他决定用一个简单原创 2016-04-19 16:57:31 · 468 阅读 · 0 评论 -
zzuli oj 1871: NO offer <set容器的用法>
1871: NO offerTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 393 Solved: 167SubmitStatusWeb BoardDescription最近WX正在帝都苦逼的找工作,面对招聘网站上众多的公司,WX犯了难,不知道该投哪家公司了,最终他做了一个英(qi)明(pa)的决策,他决定从这些公司编原创 2016-04-19 16:12:21 · 667 阅读 · 0 评论 -
Problem 1606 - Funny Sheep
Problem 1606 - Funny Sheep Time Limit: 1000MS Memory Limit: 65536KB Total Submit: 612 Accepted: 169 Special Judge: NoDescriptionThere are N+1 rows and M+1 columns fence with N*M g原创 2016-04-09 22:18:09 · 392 阅读 · 0 评论 -
Problem 1603 - Minimum Sum 【好题】
Problem 1603 - Minimum Sum Time Limit: 2000MS Memory Limit: 65536KB Total Submit: 540 Accepted: 146 Special Judge: NoDescriptionThere are n numbers A[1] , A[2] .... A[n], you can原创 2016-04-09 19:29:07 · 276 阅读 · 0 评论 -
nyoj 289 苹果【裸0-1背包】
苹果时间限制:3000 ms | 内存限制:65535 KB难度:3描述ctest有n个苹果,要将它放入容量为v的背包。给出第i个苹果的大小和价钱,求出能放入背包的苹果的总价钱最大值。输入有多组测试数据,每组测试数据第一行为2个正整数,分别代表苹果的个数n和背包的容量v,n、v同时为0时结束测试,此时不输出。接下来的n行,每行2个原创 2016-04-09 09:16:05 · 467 阅读 · 0 评论 -
CodeForces 597A(公式+技巧)
I - DivisibilityTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 597ADescriptionFind the number of k-divisible numbe原创 2016-03-12 18:12:43 · 556 阅读 · 0 评论 -
CodeForces 621B
L - LTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 621BDescriptionToday, Wet Shark is given n bishops on a 1000 b原创 2016-03-06 21:20:43 · 594 阅读 · 0 评论 -
CodeForces 617B
K - KTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 617BDescriptionBob loves everything sweet. His favorite chocol原创 2016-03-06 19:51:37 · 725 阅读 · 0 评论 -
zqoj 1817: match number 【sort排序】【郑大校赛】
1817: match numberTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 97 Solved: 44SubmitStatusWeb BoardDescription喜欢写程序的同学一般对数字较为敏感。对于一串长度为2*n的号码,我们认为如果它符合以下条件,就是匹配的:把这个号码分为左右两半部分,长度均为n原创 2015-12-11 21:26:29 · 422 阅读 · 0 评论 -
zqoj 1819: 加加加!(油) 【水题】【郑大校赛】
1819: 加加加!(油)Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 74 Solved: 43SubmitStatusWeb BoardDescription实验室的小D同学又开始玩游戏了,这次他的游戏貌似很高级的样子。首先他在一张纸上写下了一个数n,然后他在两个无差别的球上写上两个数分别是a和b,他把两个球放在原创 2015-12-11 21:29:01 · 558 阅读 · 0 评论 -
lightOJ 1297 - Largest Box 【数学题】
1297 - Largest BoxPDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBIn the following figure you can see a rectangular card. The widt原创 2015-11-08 18:58:50 · 434 阅读 · 0 评论 -
lightOJ 1294 - Positive Negative Sign 【规律题】
1294 - Positive Negative SignPDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBGiven two integers: n and m and n is divisible by 2m,原创 2015-11-08 18:42:34 · 355 阅读 · 0 评论 -
ACM大一练习赛-第三场------C - 薛定谔的猫《打表枚举的方法》
C - 薛定谔的猫Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionEdward, a poor copy typist, is a user of the Dvorak Layout. But now he ha原创 2015-08-21 19:45:24 · 690 阅读 · 0 评论 -
ACM大一练习赛-第三场——A - 海森堡不确定原理
A - 海森堡不确定原理Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription给一个N位的正整数,该数不包含前导0,先让你调整其中每个数字的位置,得到另一个n位的数,并且使得这个数越小越好,而且这个数不能包含前导0原创 2015-08-21 19:40:07 · 824 阅读 · 0 评论 -
lightOJ 1354 - IP Checking 【字符串处理&&进制转化】
1354 - IP CheckingPDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBAn IP address is a 32 bit address formatted in the following way原创 2015-11-08 19:10:33 · 381 阅读 · 0 评论 -
codeforces 7C 【扩展欧几里得算法】
B - 楼下水题Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 7CDescriptionA line on the plane is described by an equatio原创 2015-10-24 18:14:57 · 549 阅读 · 0 评论 -
zqoj 1809: make pair 【水题】
1809: make pairTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 62 Solved: 46SubmitStatusWeb BoardDescriptionpair是c++标准模板库中一种十分有用的模板类型,它是一个二元组。我们可以用它来表示一个二维坐标点,人的身高体重等等。make_pair()函数可以方原创 2015-12-11 21:16:36 · 362 阅读 · 0 评论 -
zqoj 1812: sort 【sort排序(字符串处理)(有疑问)】
1812: sortTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 177 Solved: 34SubmitStatusWeb BoardDescription想必大家对排序已经很熟悉了,但是spy好像对排序不太熟悉,有一天,他看到这样一个关于排序的题目:对于 k 个用空格分隔开的整数,依次为 n1, n2 … n原创 2015-12-11 21:03:00 · 539 阅读 · 0 评论 -
ZZULIOJ 1816: 矩形 【矩形重叠面积的计算(区分相离与相交)】
1816: 矩形Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 103 Solved: 32SubmitStatusWeb BoardDescription小S和小D两个小雪参,在玩一个关于矩形的游戏以帮助他们学会怎么计算矩形的面积然后完成作业去打游戏(两个小雪参一起打游戏你怕不怕!)。他们约定每个人给出两个坐标,分别原创 2015-12-10 21:11:25 · 2888 阅读 · 0 评论 -
lightOJ 1082 - Array Queries 【线段树(求最小值)】
1082 - Array QueriesPDF (English)StatisticsForumTime Limit: 3 second(s)Memory Limit: 64 MBGiven an array with N elements, indexed from 1 to N. Now you w原创 2015-11-15 22:16:08 · 520 阅读 · 0 评论 -
lightOJ 1100 【巧妙暴力】
E - 楼下水题Time Limit:3000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1100DescriptionGiven an array with n integers, and you are given tw原创 2015-10-25 15:19:59 · 418 阅读 · 0 评论 -
lightOJ 1258 【KMP变形题】
D - 楼下水题Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1258DescriptionA string is said to be a palindrome if it remains sa原创 2015-10-25 13:45:18 · 428 阅读 · 0 评论 -
lightOJ 1005 【规律题】
A - 楼下水题Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1005DescriptionA rook is a piece used in the game of chess which is p原创 2015-10-24 18:06:01 · 338 阅读 · 0 评论 -
lightOJ 1148 【水题】
C - 楼下水题Time Limit:500MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice LightOJ 1148DescriptionMob was hijacked by the mayor of the Town "TruthTown".原创 2015-10-24 18:21:12 · 429 阅读 · 0 评论 -
zzuli oj 1873: This offer 【dfs+数组标记技巧(set会超时)】
1873: This offerTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 210 Solved: 52SubmitStatusWeb BoardDescription话说WX入职已经有一个多月了,公司boss突然扔给他了一个问题,如果解决不了的话就会被开除掉 - -#,情急之下他只能来请教你了,boss给了他N个原创 2016-04-19 16:59:07 · 745 阅读 · 0 评论