摘要: Carlo Ancelotti "Real Madrid's coach" is so Sad and disappointed, and Florentino Perez fired him after getting knocked out from the UE... 阅读全文
posted @ 2018-04-15 12:47 ~~zcy 阅读(156) 评论(0) 推荐(0) 编辑
摘要: You have n rectangles, each of which is described by three integers i, j and k. This indicates that the lower-left corner of the rect... 阅读全文
posted @ 2018-04-15 12:30 ~~zcy 阅读(408) 评论(0) 推荐(0) 编辑
摘要: It was a beautiful day, the sun was shining, the sky was clear and king Omar was listening to the birds peacefully under his favorite... 阅读全文
posted @ 2018-04-15 12:16 ~~zcy 阅读(183) 评论(0) 推荐(0) 编辑
摘要: The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large recta... 阅读全文
posted @ 2018-04-14 13:28 ~~zcy 阅读(97) 评论(0) 推荐(0) 编辑
摘要: Sample Input24390Sample Output63这题很容易出错(可能超限,必须用数组)真是醉了,竟然交了这么多次这是错误的代码#include #include int main(){ char s[10000],t; int sum=0... 阅读全文
posted @ 2018-04-13 20:23 ~~zcy 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 必须在tc中运行1.#include #includevoid mysound(unsigned int freq,int times){ int i;union{int n;char c[2];}count;char bits;count.n=1193180... 阅读全文
posted @ 2018-04-03 16:09 ~~zcy 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 排序是一种很频繁的计算任务。现在考虑最多只有三值的排序问题。一个实际的例子是,当我们给某项竞赛的优胜者按金银铜牌序的时候。 在这个任务中可能的值只有三种1,2和3。我们用交换的方法把他排成升序的。 写一个程序计算出,给定的一个1,2,3组成的数字序列,排成升序所需的... 阅读全文
posted @ 2018-04-01 13:11 ~~zcy 阅读(219) 评论(0) 推荐(0) 编辑
摘要: DescriptionRobot Doc is located in the hall, with n computers stand in a line, numbered from left to right from 1 to n. Each computer... 阅读全文
posted @ 2018-04-01 11:02 ~~zcy 阅读(128) 评论(0) 推荐(0) 编辑
摘要: DescriptionCity X consists of n vertical and n horizontal infinite roads, forming n × n intersections. Roads (both vertical and horizo... 阅读全文
posted @ 2018-04-01 10:05 ~~zcy 阅读(164) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe princess is going to escape the dragon's cave, and she needs to plan it carefully.The princess runs at vp miles per hou... 阅读全文
posted @ 2018-03-31 21:50 ~~zcy 阅读(319) 评论(0) 推荐(0) 编辑