Guess Next Session分值:10 Guess Next Session分值:10 来源: iFurySt 难度:易 参与人数:3870人 Get Flag:1672人 答题人数:1690人 解题通过率:99% 来源: iFurySt 难度:易 参与人数:3870人 Get Flag:1 ...
分类:
Web程序 时间:
2017-11-08 23:33:20
阅读次数:
499
这题题目很简单,但是卡了一下精度,因为题目说精确小数点两位 首先要把出入×100然后要用round函数四舍五入,才能去除精度问题 ...
分类:
其他好文 时间:
2017-11-08 14:48:08
阅读次数:
96
- 简介 二分查找又称折半查找,优点是比较次数少,查找速度快,平均性能好,占用系统内存较少;其缺点是要求待查表为有序表,且插入删除困难。因此,折半查找方法适用于不经常变动而查找频繁的有序列表。首先,假设表中元素是按升序排列,将表中间位置记录的关键字与查找关键字比较,如果两者相等,则查找成功;否则利用 ...
分类:
编程语言 时间:
2017-10-29 12:47:39
阅读次数:
161
看样子作者对.net已经失去了信心 http://weblog.ikvm.net/CommentView.aspx?guid=33ea525f-a291-418a-bd6a-abdf22d0662b#commentstart The End of IKVM.NET After almost fift ...
分类:
Web程序 时间:
2017-10-29 11:10:56
阅读次数:
214
Spring MVC做文件下载功能时,遇到了文件名编码问题。经过百度,参考了以下两篇文章,解决了编码问题。 http://www.iefans.net/xiazai-wenjian-http-bianma-content-disposition/ https://yq.aliyun.com/arti ...
分类:
编程语言 时间:
2017-10-27 20:37:33
阅读次数:
155
We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wron ...
分类:
其他好文 时间:
2017-10-24 16:03:33
阅读次数:
154
Recite: A B A;A; I'm so excited!We have two weeks off! What are you going to do? B; I'm not sure. I guess I'll just stay home. Maybe I'll watch a few ...
分类:
其他好文 时间:
2017-10-23 00:55:50
阅读次数:
162
A. Trip For Meal Winnie-the-Pooh likes honey very much! That is why he decided to visit his friends. Winnie has got three best friends: Rabbit, Owl an ...
分类:
其他好文 时间:
2017-10-18 00:21:45
阅读次数:
163
今天主要了解了python的前景和基础知识(开发工具,变量,格式化输出,循环) 1.python的变量:用于存储数据,动态类型也就是不需要定义,但需要强转化 name="peter" age=11 age=int(input("age"))2.格式化输出name = input("name:")ag ...
分类:
编程语言 时间:
2017-10-16 00:18:53
阅读次数:
276
一、if...else语句 if 条件成立: 执行条件成立后的代码 else: 执行条件不成立的代码 注:注意有冒号,python会强制缩进!一般语句都必须顶格写,缩进是缩进一个tab键,等于4个空格 1 #!/usr/bin/env python 2 # -*- coding:utf-8 -*- ...
分类:
其他好文 时间:
2017-10-15 22:37:03
阅读次数:
242