You are given n integers. Your task is very easy. You should find the maximum integer a and the minimum integer b among these n integers.
And then you should replace both a and bwith a-b. Your task ...
分类:
其他好文 时间:
2015-02-08 15:34:12
阅读次数:
165
Description
You are given a sequence {A1, A2, ..., AN}. You task is to change all the element of the sequence to 1 with the following operations (you may need to apply it multiple times):
choose...
分类:
其他好文 时间:
2015-02-08 11:36:49
阅读次数:
143
怎么求多项式的系数
在数学书我们曾经学过求多项式系数的问题吧,但是编程上怎么办呢?
先给一道例题看看吧
Easy Task
Calculating the derivation of a polynomial is an easy task. Given a function f(x) , we use (f(x))' to denote its deri...
分类:
其他好文 时间:
2015-02-08 09:08:47
阅读次数:
359
微软近期Open的职位:Job Title: Software Engineer IILocation: Beijing, ChinaDocument Understanding and Task (DUT) team in STCA focuses on semantic understandin...
分类:
其他好文 时间:
2015-02-08 06:40:51
阅读次数:
203
时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThe task of this problem is simple: insert a sequence of distinct positive integers into a h...
分类:
其他好文 时间:
2015-02-07 22:54:49
阅读次数:
161
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 #define LEN 128 9 typedef struct task_que 10 { 11...
分类:
其他好文 时间:
2015-02-07 15:43:18
阅读次数:
193
之前试验了一下统一登陆,用contentprovide可以实现数据共享,但现在遇到一个问题:
启动第三方APP的时候,有两种情况:
一:第三方APP已经启动
这情况就应该类型于按桌面快捷方式一样重现第三方APP的界面,而不是启动一个新的界面。
二:第三方APP未启动,这类型应该启动一个新的第三方APP,但不能在本APP的task上面。
刚测试了好几种flag搭配,现将实现方...
分类:
移动开发 时间:
2015-02-07 14:38:17
阅读次数:
186
Problem DescriptionGiven an integer N(0 ≤ N ≤ 10000), your task is to calculate N!InputOne N in one line, process to the end of file.OutputFor each N,...
分类:
其他好文 时间:
2015-02-07 11:43:17
阅读次数:
128
这里参考特权同学的模块化思想,将常用的print等任务模块化,便于直接调用,提高代码的效率和易读性。现转载之,以供日后的学习和工作参考。print模块参考代码如下://=================================////useful print_task show//inclu...
分类:
其他好文 时间:
2015-02-06 20:28:21
阅读次数:
184
Problem DescriptionHey, welcome to HDOJ(Hangzhou Dianzi University Online Judge).In this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + ... +...
分类:
编程语言 时间:
2015-02-06 20:27:57
阅读次数:
167