2015年12月21日

School idol project

摘要: Bad news! It is said that School of Software is going to be repealed because of low amount of new student. Many people says that TAs always give assig... 阅读全文
posted @ 2015-12-21 21:44 _阿赞 阅读(508) 评论(0) 推荐(0) 编辑

singledog

摘要: 假如没有情侣存在,那么单身狗一定是一个非常恐怖的生物。他们可以去电影院最多一人占据3个座位(大概是因为他们不愿意和别人坐在相邻的位置)难以想象他们为什么会有这么强大的战斗力。那么问题来了。假如一只单身狗的ID十进制下表示为N,在D进制下,他的战斗力为数字x出现的次数,而他的最大战斗力,则是所有进制下... 阅读全文
posted @ 2015-12-21 20:25 _阿赞 阅读(757) 评论(0) 推荐(0) 编辑

time.h

摘要: time.h是C标准库头文件,主要是一些和时间相关的函数,有相应的函数原型,用户只需要按照函数原型进行调用即可,这里简单介绍一下内容:1、在time.h头文件中有几种自定义数据类型:time_t、clock_t、size_t,它们都是与long有同等意义的名字。2、time.h头文件中给出时间和日期... 阅读全文
posted @ 2015-12-21 20:13 _阿赞 阅读(713) 评论(0) 推荐(0) 编辑

冒泡排序

摘要: 1 #include 2 int main() { 3 int n, i = 0, a[100], j, temp; 4 scanf("%d", &n); 5 int biao = n; 6 while (biao--) { 7 scanf("%... 阅读全文
posted @ 2015-12-21 12:28 _阿赞 阅读(208) 评论(0) 推荐(0) 编辑

选择排序

摘要: 1 #include //选择排序 2 int main() { 3 int n, a[100], k, j, temp, i = 0; 4 scanf("%d", &n); 5 int biao = n; //原来我没... 阅读全文
posted @ 2015-12-21 11:22 _阿赞 阅读(188) 评论(0) 推荐(0) 编辑