上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页
摘要: Input On the first line of input there is one integer, N #include #include #include using namespace std; struct Point { do... 阅读全文
posted @ 2015-05-01 09:02 星斗万千 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 题目描述 We know that if a phone number A is another phone number B’s prefix, B is not able to be called. For an example, A is 123 while B is 12345, ... 阅读全文
posted @ 2015-04-29 19:44 星斗万千 阅读(314) 评论(0) 推荐(0) 编辑
摘要: Description Do you know confetti? They are small discs of colored paper, and people throw them around during parties or festivals. Since people ... 阅读全文
posted @ 2015-04-29 16:29 星斗万千 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 题目描述 The Fairy Ivan gave Saya three problems to solve (Problem F). After Saya finished the first problem (Problem H), here comes the second. This... 阅读全文
posted @ 2015-04-28 21:09 星斗万千 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Kudo’s real name is not Kudo. Her name is Kudryavka Anatolyevna Strugatskia, and Kudo is only her nickname. Now, she is facing an emergency ... 阅读全文
posted @ 2015-04-28 21:06 星斗万千 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 小武老师布置的题,让我们分别用顺序表和链表的形式完成一些操作,虽然本人还没验收但还是发这篇博客吧,我就是这么任性。 实验内容 该程序的功能是对元素类型为整型的顺序表进行一些操作。该程序包括顺序表结构类型的定义以及对顺序表操作的具体的函数定义和主函数。 此题我使用了一些对于界面好看点的程序代码... 阅读全文
posted @ 2015-04-28 18:05 星斗万千 阅读(426) 评论(0) 推荐(0) 编辑
摘要: This is a collection of 110 (in binary) 2D geometry problems. CircumscribedCircle x1 y1 x2 y2 x3 y3 Find out the circumscribed circle of triangle (x... 阅读全文
posted @ 2015-04-28 10:33 星斗万千 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 问题描述 wld有一个序列a[1..n], 对于每个1≤i using namespace std; int main() { int n; while(cin>>n) { int num[10010]={0},sum=0; for(in... 阅读全文
posted @ 2015-04-26 21:05 星斗万千 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 问题描述 wld有n个数(a1,a2,...,an),他希望进行k次删除一个数的操作,使得最后剩下的n−k个数中有最多的不同的数,保证1≤n≤100,0≤k #include using namespace std; struct node { int data; int c... 阅读全文
posted @ 2015-04-26 21:04 星斗万千 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 注意最后结果是四舍五入到最近的整数 #include #include #include using namespace std; double Min,Max; struct Point { double x,y; Point(){} Point(dou... 阅读全文
posted @ 2015-04-25 21:09 星斗万千 阅读(128) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页