上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 41 下一页
摘要: Problem Description Given a positive integer N, your task is to calculate the sum of the positive integers less than N which are not coprime to N. A i 阅读全文
posted @ 2014-11-12 22:22 wojiaohuangyu 阅读(5) 评论(0) 推荐(0)
摘要: Problem Description "Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says. "The second problem 阅读全文
posted @ 2014-11-10 20:50 wojiaohuangyu 阅读(8) 评论(0) 推荐(0)
摘要: Problem Description Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , s 阅读全文
posted @ 2014-11-09 22:45 wojiaohuangyu 阅读(6) 评论(0) 推荐(0)
摘要: 文章转载自: http://www.nowamagic.net/librarys/veda/detail/438 背包问题是在1978年由Merkel和Hellman提出的。它的主要思路是假定某人拥有大量物品,重量各不同。此人通过秘密地选择一部分物品并将它们放 到背包中来加密消息。背包中的物品中重量 阅读全文
posted @ 2014-11-09 22:33 wojiaohuangyu 阅读(15) 评论(0) 推荐(0)
摘要: Problem Description Given a positive integer N, you should output the leftmost digit of N^N. Input The input contains several test cases. The first li 阅读全文
posted @ 2014-11-08 23:35 wojiaohuangyu 阅读(8) 评论(0) 推荐(0)
摘要: ACM 训练大纲 Changsha University of Science & Technology July 31, 2012 1 推荐题库 • http://ace.delos.com/usaco/ 美国的OI 题库,如果是刚入门的新手,可以尝试先把它刷通,能够学到几乎全部的基础算法极其优化 阅读全文
posted @ 2014-11-08 22:51 wojiaohuangyu 阅读(16) 评论(0) 推荐(0)
摘要: Problem Description Give you two numbers A and B, if A is equal to B, you should print "YES", or print "NO". Input 这道题目,刚开始做的时候我只考虑开头的时候有+这种情况,想错了,这道题 阅读全文
posted @ 2014-11-08 22:29 wojiaohuangyu 阅读(16) 评论(0) 推荐(0)
摘要: Problem Description 读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。 Input 测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有0时输入结束,相应的结果不要输出。 O 阅读全文
posted @ 2014-11-07 21:42 wojiaohuangyu 阅读(8) 评论(0) 推荐(0)
摘要: Problem Description XX星有许多城市,城市之间通过一种奇怪的高速公路SARS(Super Air Roam Structure 超级空中漫游结构)进行交流,每条SARS都对行驶在上面的Flycar限制了固定的Speed,同时XX星人对 Flycar的“舒适度”有特殊要求,即乘坐过 阅读全文
posted @ 2014-11-07 20:32 wojiaohuangyu 阅读(8) 评论(0) 推荐(0)
摘要: Problem Description Here is a game for two players. The rule of the game is described below: ● In the beginning of the game, there are a lot of piles 阅读全文
posted @ 2014-11-05 21:59 wojiaohuangyu 阅读(10) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 41 下一页