程序地址:http://www.cheemoedu.com/exercise/11程序题目:0~9这10个数字可以组成多少不重复的3位数?我的思路:使用三个for循环将所有的可能组成的数全部列出,然后去掉小于100的,去掉三位数中有重复数字的,最后输出不重复的三位数的个数和全部的数;我的程序:inter=[]
fo..
分类:
其他好文 时间:
2016-05-22 06:25:23
阅读次数:
380
使用浏览器向服务器上传文件其本质是打开了一个长连接并通过TCP方式传输数据。而需要的动作是客户端在表单中使用file域,并指定该file域的name值,然后在form中设定enctype的值为multipart/form-data和method值为post。其他就如同一般表单一样。示例如下: <fo ...
分类:
Web程序 时间:
2016-05-20 23:55:10
阅读次数:
222
package lianxi; public class Yanghuisanjiao { public static void main(String[] args) { int[][] ary =new int[10][10]; for (int i = 0; i < 10; i++) { fo ...
分类:
其他好文 时间:
2016-05-20 21:06:47
阅读次数:
135
一、XSL(eXtensible Stylesheet Language)扩展样式表语言:主要包含三个部分——XSLT用于XML文档转换,XPath用于在XML文档中导航,XSL-FO用于XML文档格式化。
注意:XSL样式表本身也是一个XML文档,所以第一行必须为XML声明。
二、XSLT = XSLTransformations XSL转换,可将一种XML文档转换为另一种XML文档...
分类:
其他好文 时间:
2016-05-20 06:18:16
阅读次数:
189
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space fo ...
分类:
其他好文 时间:
2016-05-20 00:50:47
阅读次数:
129
Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must do this in-place without altering the nodes' values. Fo ...
分类:
其他好文 时间:
2016-05-18 17:32:35
阅读次数:
189
Keil4 每次选build 编译(F7)都全部编译的解决办法 http://blog.csdn.net/wchengshen/article/details/50440079 Keil4 每次选build 编译(F7)都全部编译的解决办法: ocean 验证: project--option fo ...
分类:
其他好文 时间:
2016-05-18 14:29:31
阅读次数:
309
There are a variety of reasons you might not get good quality output from Tesseract. It's important to note that unless you're using a very unusual fo ...
分类:
其他好文 时间:
2016-05-18 00:02:54
阅读次数:
395
得到第一关地址后可以进行第一关的解析了。 看起来好神秘的样子。但是也就是把字母 k 变成 m , o 变成 q ,e 变成 g。将字母对应的ASCII的值+2就行了。 i hope you didnt translate it by hand. thats what computers are fo ...
分类:
编程语言 时间:
2016-05-17 00:47:14
阅读次数:
298
#include <stdio.h> int factorial(int n) { if(0==n) return 1; if(1==n) return 1; return n*factorial(n-1); } int main() { int n=10; int sum=0; int i; fo ...
分类:
编程语言 时间:
2016-05-17 00:39:34
阅读次数:
141