上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing ba 阅读全文
posted @ 2017-03-14 13:45 claremz 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Given three integers A, B and C in [-263, 263], you are supposed to tell whether A+B > C. Input Specification: The first line of the input gives the p 阅读全文
posted @ 2017-03-14 13:30 claremz 阅读(323) 评论(0) 推荐(0) 编辑
摘要: The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of e 阅读全文
posted @ 2017-03-14 13:22 claremz 阅读(251) 评论(0) 推荐(0) 编辑
摘要: Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid "ins 阅读全文
posted @ 2017-03-14 13:18 claremz 阅读(958) 评论(0) 推荐(1) 编辑
摘要: This time, you are supposed to find A*B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occu 阅读全文
posted @ 2017-03-14 13:06 claremz 阅读(168) 评论(0) 推荐(0) 编辑
摘要: This time, you are supposed to find A+B where A and B are two polynomials. Input Each input file contains one test case. Each case occupies 2 lines, a 阅读全文
posted @ 2017-03-10 13:16 claremz 阅读(137) 评论(0) 推荐(0) 编辑
摘要: win10开始菜单打不开怎么办? WIN+R,或在任务管理器(ctrl+shift+esc)中以管理员方式运行cmd 输入powershell回车,执行下面两条命令,然后重启系统 $manifest = (Get-AppxPackage Microsoft.WindowsStore).Install 阅读全文
posted @ 2016-09-30 11:23 claremz 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 简单排序 - 冒泡、选择、插入 1. 冒泡排序 2. 选择排序 3. 插入排序 排序进阶 1. 归并排序 对于一个int数组,请编写一个归并排序算法,对数组元素排序。 给定一个int数组A及数组的大小n,请返回排序后的数组。 测试样例: 代码: 2. 快速排序 对于一个int数组,请编写一个快速排序 阅读全文
posted @ 2016-05-16 18:02 claremz 阅读(303) 评论(0) 推荐(0) 编辑
摘要: fopen() 文件的打开操作表示将给用户指定的文件在内存分配一个FILE结构区,并将该结构的指针返回给用户程序,以后用户程序就可用此FILE指针来实现对指定文件的存取操作了。 当使用打开函数时,必须给出文件名、文件操作方式(读、写或读写)。如果该文件名不存在,就意味着建立(只对写文件而言,对读文件 阅读全文
posted @ 2016-03-21 16:15 claremz 阅读(1527) 评论(0) 推荐(0) 编辑
摘要: NO.3章 入门篇(1)——入门模拟 1. 输入“2 a” 2. 四舍五入 因为'round': identifier not found,不能从<cmath>中调进来,需自己定义 法一:宏定义 法二:inline 函数 法三:用于对 整数/2 之后的值四舍五入 3. 对数组中的元素赋相同的值 (i 阅读全文
posted @ 2016-03-15 21:01 claremz 阅读(509) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页