摘要:
#define int long long int sgn(double x) { if(fabs(x) < eps)return 0; if(x < 0)return -1; else return 1; } struct Point { int x,y; Point() {} Point(int 阅读全文
摘要:
问题 G: 销售 题目描述 农夫 John 正在筹划从他的谷仓中售出 N 头奶牛,与此同时也有 N 个农夫想要购买奶牛。每个农夫都有刚好足够购买一头奶牛的钱并且将会把买来的这头奶牛用来挤奶。为了减少买来的牛挤不出奶的风险,农夫们每个人都将会购买两头不同的奶牛各自一半的产权,然后将获得每头牛产奶量的一 阅读全文
摘要:
Igor and his way to work题目描述 Woken up by the alarm clock Igor the financial analyst hurried up to the work. He ate his breakfast and sat in his car. S 阅读全文