Problem DescriptionZCC has got N strings. He is now playing a game with Miss G.. ZCC will pick up two strings among those N strings randomly(A string ...
分类:
其他好文 时间:
2015-05-22 00:17:18
阅读次数:
169
题目传送门 1 /* 2 题意:找到一个字符串p,使得它和s,t的不同的总个数相同 3 贪心:假设p与s相同,奇偶变换赋值,当是偶数,则有答案 4 */ 5 #include 6 #include 7 #include 8 #include 9 #include 10 usi...
分类:
其他好文 时间:
2015-05-22 00:14:28
阅读次数:
205
/// /// 机器码 /// public class MachineCode { /// /// 获取cpu序列号 /// /// string public string GetCpuInfo() { string cpuInfo = " "; using (ManagementClass.....
1.find_first_ofsize_type find_first_of( const basic_string &str, size_type index = 0 );size_type find_first_of( const char *str, size_type index = 0 )...
分类:
编程语言 时间:
2015-05-22 00:06:16
阅读次数:
182
namespace wwz{ class Program { struct student { public string name; public int chengji; public in...
分类:
其他好文 时间:
2015-05-21 23:57:04
阅读次数:
205
基本类型
string
number
boolean
function
undefined
object (null,Array,Date,window)
隐式转换与“==”“===”
num-string var str=num+‘ ’
string-num var num=str-0
“==”进行隐式转换后判断(即判断变量里面的值)
“===”直接...
分类:
编程语言 时间:
2015-05-21 22:47:28
阅读次数:
193
所谓SAX,就是SAX simple API for XML,是一个解析XML文件的简单API。SAX解析XML的工作原理,是对文档进行顺序扫描,当扫描到文档开始与结束,元素开始与结束,触发相应的响应函数。是一种事件驱动型的解析方式。它可以在解析文档的任意时刻停止解析。通过该图我们可以大概了解解析的过程。private void parse(String xmlString,List<Mp3Info...
分类:
移动开发 时间:
2015-05-21 22:45:42
阅读次数:
156
1:头文件String.h#pragma once
#include
#include
#include
#define MAX_STRING_SIZE 20
typedef char SString[MAX_STRING_SIZE+1];
void Show(); //菜单显示
void StrAssign(SString T, char *str);//初始化字符串
void P...
分类:
其他好文 时间:
2015-05-21 22:37:51
阅读次数:
128
1.CSRF 保护from flask import Flaskapp = Flask(__name__)app.config['SECRET_KEY'] = 'secret_key string'app.config字典可用来存储框架、扩展和程序本身的配置变量。使用标准的字典语法就能把配置值添加到...
分类:
Web程序 时间:
2015-05-21 22:32:46
阅读次数:
899
用DataReader在comboBox中显示name,取值id:定义ItemObject类classItemObject{public int id;public string name;publicItemObject(int id,string name){this.id=id;this.na...
分类:
其他好文 时间:
2015-05-21 22:29:59
阅读次数:
246