- 博客(22)
- 收藏
- 关注
原创 ztr loves math
ztr loves mathAccepts: 303Submissions: 1975Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Problem Descriptionztr loves research Math.One d
2016-04-30 20:59:46 343
原创 acm练习场光棍的yy
光棍的yy时间限制:1000 ms | 内存限制:65535 KB难度:2描述 yy经常遇见一个奇怪的事情,每当他看时间的时候总会看见11:11,这个很纠结啊。现在给你m个1,你可以把2个1组合成一个2,这样就不是光棍了,问这样的组合有多少种??例如(111 可以拆分为 111 12 21 有三种)输入第一行输入一个n表示有n个测试数据以下n行,
2016-04-30 11:33:38 448
原创 A. Tiling
A. TilingTime Limit: 1000msMemory Limit: 32768KB64-bit integer IO format: %I64d Java class name:Main SubmitStatus PID: 24430 In how many ways can you tile a 2xn rectan
2016-04-30 11:26:39 338
原创 B. Crossed ladders
B. Crossed laddersTime Limit: 1000msMemory Limit: 32768KB64-bit integer IO format: %I64d Java class name:Main SubmitStatus PID: 24431 A narrow street is lined with tal
2016-04-30 09:33:28 541
原创 D. A Simple But Difficult Problem
D. A Simple But Difficult ProblemTime Limit: 5000msMemory Limit: 65536KB64-bit integer IO format: %lld Java class name:Main SubmitStatus PID: 4356 计算前n个正整数的k次幂之和:结果
2016-04-27 20:49:32 374
原创 喝酒
王大钉喜欢喝酒,存货都喝完了,他就去楼下买,正好楼下的商店为了响应学校的 ACM 校赛推出了优惠活动:凡是在本店买的啤酒,喝完以后 333 个空瓶可以换一瓶,444 个瓶盖也可以换一瓶酒。王大钉觉得太合算了,决定多买,现在他手里的钱可以买 NNN 瓶酒,但是他算不出来,通过活动兑换他一共可以喝到多少瓶?他很难过,你能帮他计算一下他能喝的酒的数量吗?输入格式:输入第一行是
2016-04-26 17:58:08 474
原创 Candy
There are N children standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following requirements:(1) Each child must have at least on
2016-04-26 16:41:10 394
原创 The Lucky Week
The Lucky WeekTime Limit: 2 Seconds Memory Limit: 65536 KB Edward, the headmaster of the Marjar University, is very busy every day and always forgets the date.There was one day Edwa
2016-04-24 09:36:02 703
原创 F. Set the memory
F. Set the memoryTime Limit: 1000msMemory Limit: 65536KB64-bit integer IO format: %lld Java class name:Main SubmitStatus PID: 4054 You have been given a very strange com
2016-04-20 20:13:42 292
转载 I. Permutations
I. PermutationsTime Limit: 2000msMemory Limit: 262144KB64-bit integer IO format: %I64d Java class name:(Any) SubmitStatus PID: 20924 Happy PMP is freshman and he is lear
2016-04-20 20:05:34 412
转载 贪心
sequence Time Limit: 1000MSMemory Limit: 65536KBDescription将一个给定的数列,拆分成K个不降序列,每个数出现且只出现一次,且在各序列中各个数相对于原数列的相对顺序不变。如7 6 9 8 10可以拆成 7 9 10和6 8。求最小的K值。Input第一行输入一个整数T(1 Output对每组
2016-04-18 20:49:19 307
原创 B - 又见LKity
B - 又见LKityCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatus Practice FZU 2122 Description嗨!大家好
2016-04-14 19:52:07 452
原创 2016河南省第九届ACM程序设计竞赛[正式赛四]
2016河南省第九届ACM程序设计竞赛[正式赛四]-0:12:10OverviewProblemStatusRankCurrent Time: 2016-04-13 13:47:49Contest Type: PrivateStart Time: 2016-04-13 09:00:00Conte
2016-04-13 13:49:39 3118 1
原创 Min Number
J - Min NumberCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatus Practice FZU 2111 DescriptionNow
2016-04-12 20:46:13 346
原创 二叉树的中序遍历
Problem D: 二叉树的中序遍历Description对于学过数据结构的人来说,二叉树和二叉树上的中序遍历都是再简单不过的东西了。这道题就搞搞二叉树好了,当然,不是一般的二叉树:)我们定义一种a二叉树,它的节点内容可以是任一个数字或者#,#只能作为叶子节点的内容。如下就是一棵合法定义的a二叉树1:再来一棵不合法的a二叉树2:(根节点的左儿子的内容是#,
2016-04-10 21:06:40 764
原创 旅游
旅游Time Limit: 1000msMemory Limit: 65536KB64-bit integer IO format: %lld Java class name: Main SubmitStatute Statistics Discuss NextFont Size: + -Type: None Graph
2016-04-09 17:25:19 761
原创 C. Animals
C. Animals Time Limit: 2000msMemory Limit: 65536KB64-bit integer IO format: %I64d Java class name:(Any) SubmitStatus PID: 4769 Once upon a time DravDe, an outstanding
2016-04-09 16:06:06 653
原创 杨辉三角形
F. 杨辉三角形Time Limit: 1500msMemory Limit: 65536KB64-bit integer IO format: %lld Java class name:Main SubmitStatus PID: 4225 LZM同学比较牛,Lsy最近也越来越生猛,他们思路快,代码速度神勇。近期惊闻此二人均要
2016-04-09 09:20:49 466
原创 『NYIST』第八届河南省ACM竞赛训练赛[正式赛一] E题
E - ECrawling in process...Crawling failedTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u SubmitStatus Practice CodeForces 237C DescriptionYo
2016-04-07 20:46:13 364
原创 分田
D - DCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u SubmitStatus Practice CodeForces 120D Description
2016-04-04 15:39:59 369
原创 神庙逃亡
A - 神庙逃亡Crawling in process...Crawling failedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatus Practice FZU 2121 Description话说最近穷猫猫L
2016-04-02 09:29:32 1261
原创 简单的等式
E - 简单的等式Crawling in process...Crawling failedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatus Practice FZU 2125 Description现在有一个等式如下
2016-04-02 09:15:13 376
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人