码迷,mamicode.com
首页 >  
搜索关键字:sign    ( 4882个结果
Uva 202 Repeating Decimals
关键是判断循环的长度,若某一步的余数已出现过,则循环确定#include #include int s[10000], y[10000],sign[10000];int main(){ int a, b, sz, yu, k , cnt; while(scanf("%d%d",&a,&b...
分类:其他好文   时间:2015-02-28 21:26:03    阅读次数:146
python迭代器&生成器
看代码看到什么yield又看不懂了。Sign.....迭代器:首先Python有内置容器类:List ,dict,tuple.... 我们把这些叫做Container。Container都是可以用for..in..来遍历的。那么,是什么使得遍历可以成功进行呢?就是我们的迭代器对象啦。这个对象使得遍历...
分类:编程语言   时间:2015-02-28 17:57:58    阅读次数:302
1006. Sign In and Sign Out
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in's and out's, you...
分类:其他好文   时间:2015-02-27 21:41:22    阅读次数:243
使用 P3P 规范让 IE 跨域接受第三方 cookie
前两天帮同事处理一个 js 跨域问题,使用 jsonp 跨域提交用户名密码请求,实现自动登录第三方网站,即 SSO(single-sign-on) 单点登录,一处登录处处登录。在 Chrome 下没问题,IE 却不行。查看 HTTP 的几个来回,发现登录请求是成功的,问题出在第三方网站返回的 coo...
分类:其他好文   时间:2015-02-26 20:08:09    阅读次数:160
apk的安装删除
1,签名:java -jar signapk.jar platform.x509.pem platform.pk8 DownloadProvider.apk DownloadProvider-sign.apk2,adb connect 192.168.12.103adb remount3,apk安装...
分类:其他好文   时间:2015-02-26 18:13:07    阅读次数:224
单点登录原理【转】
http://blog.csdn.net/cutesource/article/details/5838693单点登录SSO(Single Sign On)说得简单点就是在一个多系统共存的环境下,用户在一处登录后,就不用在其他系统中登录,也就是用户的一次登录能得到其他所有系统的信任。单点登录在大型网...
分类:其他好文   时间:2015-02-26 17:57:53    阅读次数:110
用枚举法填运算符
演示一个 5 ? 5?5?5?=5 import java.util.*; public class Text1{ public static void main(String[]args){ int j ;//循环变量 int []type=new int[5];//类加运算符的样式 int sign;//保存运算的正负号 int result;//结果 int co...
分类:其他好文   时间:2015-02-26 10:07:56    阅读次数:246
Uva 232-crossword answers
我的思路是网格的四周全部置为'*',设置sign数组记录起始格#include #include char a[20][20];int sign[20][20];int n = 1;int main(){ int r, c, cnt, yes, first = 1; while(scan...
分类:其他好文   时间:2015-02-26 09:50:03    阅读次数:285
robotium—只有apk文件的测试
把ppt的内容总结一下,并把问题说明一下:把基本步骤搞出来,用notepad的程序吧,直接安装apk,就当做是不知道源码就好啦!直接用自己的手机上就行啦!!一、重签名:步骤:1、直接运行re-sign.jar进行签名注意事项:(1)官网直接搜就行:(2)对Android 4.4.2(API19)的好...
分类:其他好文   时间:2015-02-25 19:47:23    阅读次数:170
1006. Sign In and Sign Out (25)
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in's and out's, you...
分类:其他好文   时间:2015-02-24 12:38:14    阅读次数:136
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!