Linux应用 编程深入 语言编程标准C程序设计七 经典C11程序设计 以下内容为阅读: 《标准C程序设计》(第7版) 作者:E. Balagurusamy(印), 李周芳译 清华大学出版社 2017.7 《21天学通C语言》(第7版) 作者:Bradley Jones Peter Aitken D ...
分类:
其他好文 时间:
2017-11-14 18:37:35
阅读次数:
219
Linux应用 编程深入 语言编程标准C程序设计七 经典C11程序设计 以下内容为阅读: 《标准C程序设计》(第7版) 作者:E. Balagurusamy(印), 李周芳译 清华大学出版社 2017.7 《21天学通C语言》(第7版) 作者:Bradley Jones Peter Aitken D ...
分类:
其他好文 时间:
2017-11-14 17:47:36
阅读次数:
174
# Author:liuzhongchang LIU_age = 27 count=0 while countLIU_age: print("think smaller...") else: print("think bigger...") count+=1 if count==3: countin... ...
分类:
其他好文 时间:
2017-11-13 16:49:42
阅读次数:
143
http://acm.hdu.edu.cn/showproblem.php?pid=2459 之前hihocoder那题可以算出最多重复次数,但是没有输出子串。一开始以为只要基于那个,每次更新答案的时候按SA更新子串起始位置和长度就好了,但实际发现那个解法在计算重复次数的时候并不会遍历每一个合法串( ...
分类:
其他好文 时间:
2017-11-13 11:25:06
阅读次数:
144
用if来实现猜年龄 age_of_master=66 guess_age=input(">>:") if age_of_master==int(guess_age): print("yes,you are right") #print钱tab缩进 else: print("no,you must k ...
分类:
编程语言 时间:
2017-11-12 12:26:26
阅读次数:
112
C语言太麻烦了,所以我打算自学Python。 自学选的书是《父与子的编程之旅》,这本书还是比较通俗易懂的。 贴上书上教我编写的猜数字游戏代码 ...
分类:
编程语言 时间:
2017-11-12 12:22:28
阅读次数:
193
HDU 5288 OO’s Sequence http://acm.hdu.edu.cn/showproblem.php?pid=5288 OO has got a array A of size n ,defined a function f(l,r) represent the number o ...
分类:
其他好文 时间:
2017-11-12 11:05:00
阅读次数:
173
The set S originally contains numbers from 1 to n. But unfortunately, due to the data error, one of the numbers in the set got duplicated to another n ...
分类:
其他好文 时间:
2017-11-11 19:46:20
阅读次数:
168
目的:实现学生,老师,课程的增删改查 1、urls.py 1 from django.conf.urls import url 2 from django.contrib import admin 3 from app01 import views 4 urlpatterns = [ 5 url(r ...
分类:
其他好文 时间:
2017-11-11 00:28:10
阅读次数:
216
今天发现mysql的一个问题,当跑update语句的时候,mysql 服务会自动断掉,无论用 phpmyadmin, navicat , mysql workbench 甚至用 mysql命令行效果一样。 我的环境是 : windows server 2008 R2 + mysql5.7.18-wi ...
分类:
数据库 时间:
2017-11-10 20:32:00
阅读次数:
354