Problem F
Solve It
Input: standard input
Output: standard output
Time Limit: 1 second
Memory Limit: 32 MB
Solve the equation:
p*e-x+ q*sin(x) + r*cos(x) + s*tan(x) + t*x2 + u = 0
...
分类:
其他好文 时间:
2015-02-02 18:17:29
阅读次数:
151
Problem D
Closest Sums
Input: standard input
Output: standard output
Time Limit: 3 seconds
Given is a set of integers and then a sequence of queries. A query gives you a number and asks to fin...
分类:
其他好文 时间:
2015-02-02 18:15:34
阅读次数:
168
1010. 一元多项式求导 (25)时间限制400 ms内存限制65536 kB代码长度限制8000 B判题程序Standard设计函数求一元多项式的导数。输入格式:以指数递降方式输入多项式非零项系数和指数(绝对值均为不超过1000的整数)。数字间以空格分隔。输出格式:以与输入相同的格式输出导数多项...
分类:
其他好文 时间:
2015-02-02 17:52:38
阅读次数:
129
1065. A+B and C (64bit) (20)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者HOU, QimingGiven three integers A, B and C in [-263, 263], you are suppos...
分类:
其他好文 时间:
2015-02-02 15:43:38
阅读次数:
142
JSON编辑JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。它基于JavaScript(Standard ECMA-262 3rd Edition - December 1999)的一个子集。 JSON采用完全独立于语言的文本格式,但是也使用了类似于C语...
分类:
Web程序 时间:
2015-02-02 09:33:49
阅读次数:
205
分治的思想,比较水,但题很好
#include
#include
#include
using namespace std;
int t,n,m;
int vis[50010];
void v(int a,int b)
{
vis[a]=1;vis[b]=1;
vis[a+b]=1;vis[abs(a-b)]=1;
}
int rmax(int a,int b,int c...
分类:
其他好文 时间:
2015-02-02 00:44:30
阅读次数:
156
欧拉定理 V-E+F=C+1
Problem G
How Many Pieces of Land?
Input: Standard Input
Output: Standard Output
Time Limit: 3 seconds
You are given an elliptical shaped land and you are asked to ch...
分类:
其他好文 时间:
2015-02-02 00:42:26
阅读次数:
197
NAME xargs - build and execute command lines from standard input 从标准输入构建并执行命令行SYNOPSIS xargs [-0prtx] [-E eof-str] [-e[eof-str]] [--eof[=eof-str]] [.....
分类:
其他好文 时间:
2015-02-01 23:05:34
阅读次数:
320
1042. Shuffling Machine (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueShuffling is a procedure used to randomize a deck of playing car...
分类:
系统相关 时间:
2015-02-01 21:46:44
阅读次数:
260
1018. 锤子剪刀布 (20)时间限制100 ms内存限制65536 kB代码长度限制8000 B判题程序Standard作者CHEN, Yue大家应该都会玩“锤子剪刀布”的游戏:两人同时给出手势,胜负规则如图所示:现给出两人的交锋记录,请统计双方的胜、平、负次数,并且给出双方分别出什么手势的胜算...
分类:
移动开发 时间:
2015-02-01 19:05:33
阅读次数:
139