码迷,mamicode.com
首页 >  
搜索关键字:temp    ( 7776个结果
Python 不同数据类型比较
temp = '32'if temp > 85: print "Hot"elif temp > 62: print "Comfortable" else: print "Cold" 结果输出为Hot.Why?Essentially, "...the choice whether one ...
分类:编程语言   时间:2015-01-23 00:39:03    阅读次数:311
nginx 反向代理
location / { error_log /tmp/error.log; include proxy.conf; expires max; proxy_store on; proxy_store_access user:rw group:rw all:rw; proxy_temp_path /d...
分类:其他好文   时间:2015-01-22 20:14:53    阅读次数:227
51单片机的数码管和矩阵键盘
使用4*4的矩阵键盘和一个数码管 在4*4的矩阵键盘上编码0-F的字符,和一个数码管显示每个键盘上输入的字符。 //4*4键盘检测程序,按下键后相应的代码显示在数码管上 #include typedef unsigned char UINT8; UINT8 i=100; UINT8 j,k,temp,key; void delay(unsigned char i) { for(j=i;j...
分类:其他好文   时间:2015-01-22 18:19:09    阅读次数:170
关于Java的File.separator
在Windows下的路径分隔符和Linux下的路径分隔符是不一样的,当直接使用绝对路径时,跨平台会暴出“No such file or diretory”的异常。   比如说要在temp目录下建立一个test.txt文件,在Windows下应该这么写: File file1 = new File ("C:\tmp\test.txt"); 在Linux下则是这样的: File file...
分类:编程语言   时间:2015-01-22 15:34:40    阅读次数:153
asp.net mvc 遍历linq to sql 多表联查
两张表: 班级表和学生表: 最终想获得学生的姓名、密码、性别、年龄、住址、爱好、班级名称、班级所学方向var temp=from a in _db.student join b in _db.classes on a.c_id equals b.id ...
分类:数据库   时间:2015-01-22 14:38:19    阅读次数:223
C# 冒泡排序。
最近面试,冒泡又出现了。凭着感觉做完题,回来赶紧百度,发现跟我的不太一样,自己试了一下,感觉结果正确。留作纪念吧。 int[] arr = new int[] { 9, 6, 7, 5, 9, 10, 4, 3, 6, 1, 100 }; int temp = 0;...
分类:编程语言   时间:2015-01-22 09:20:49    阅读次数:204
[java] 使用一个类创建数组
public class test{ public static void main(String [] args) { Data [] tempValue = new Data[3]; for(int temp=0;temp<tempValue.length;temp++) ...
分类:编程语言   时间:2015-01-21 21:53:46    阅读次数:228
SDUT OJ 2892 A (字典树问题-输出出现次数最多的字符串的出现次数,60ms卡时间,指针+最后运行完释放内存)
ATime Limit: 60ms Memory limit: 65536K有疑问?点这里^_^题目描述给出n(1#include #include struct Trie{ int flag; struct Trie *next[26];}*temp;struct Trie *newnode(){...
分类:其他好文   时间:2015-01-21 21:51:15    阅读次数:174
数论 UVALive 2911
这道题是一道数论题。题目的意思是告诉m、p、a、b,并且告诉你xi满足的两个条件。让你求出xp1+xp2+...+xpm的最大值(其中p#includeusing namespace std;int main(){ double m,p,a,b,temp,sum; while(scanf...
分类:其他好文   时间:2015-01-21 19:46:25    阅读次数:91
1004. 成绩排名 (20)
求最大最小值,不需要排序代码如下: 1 #include 2 using namespace std; 3 4 int n,max_grade=-1,min_grade=150; 5 int grade_temp; 6 string name1,name2,num1,num2,name_temp,....
分类:其他好文   时间:2015-01-20 17:36:37    阅读次数:124
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!