时间:2016-03-23 13:04:56 星期三 题目编号:[2016-03-23][codeforces][580][A][Kefa and First Steps] 题目大意:求最长上升子串 #include using namespace std;int a[100000 + 100];i...
分类:
其他好文 时间:
2016-03-23 20:00:53
阅读次数:
314
using System; using System.Collections.Generic; using System.Text; namespace FindTheNumber { class Program { static void Main(string[] args) { int []
分类:
其他好文 时间:
2016-03-23 19:54:10
阅读次数:
150
时间:2016-03-23 00:06:45 星期三 题目编号:[2016-03-23][codeforces][208][A][Dubstep] 题目大意:把字符串中的 “WUB”去掉 #include #include #include using namespace std;int main(...
分类:
其他好文 时间:
2016-03-23 19:53:17
阅读次数:
215
#include <iostream>#include <string>using namespace std;int main(){ string str; cout << "请输入一段文章,以换行为结束!\n"<< endl; getline(cin, str); size_t zifushu
分类:
其他好文 时间:
2016-03-23 19:44:04
阅读次数:
135
转(http://blog.sina.com.cn/s/blog_586b6c0501000ax3.html) 1. using指令。using + 命名空间名字,这样可以在程序中直接用命令空间中的类型,而不必指定类型的详细命名空间,类似于Java的import,这个功能也是最常用的,几乎每个cs的
分类:
其他好文 时间:
2016-03-23 17:04:04
阅读次数:
170
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Lazy { class Program { static void Main(string[] args)
首先第一步我们需要引用微软的一个类库,Newtonsoft.Json.dll 第二步我们需要using system.XML、WEB以及using Newtonsoft.Json 然后获取Xml字符串strXml 和 Json字符串strJson 1、Json转换为XML 2、Xml转换为Json
时间:2016-03-22 19:41:34 星期二 题目编号:[2016-03-22][CF][69A][Young Physicist] 题目大意:判断向量和是否为0 分析:对应坐标相加 遇到的问题:不能用x+y+z来判断是否都为0,除非输入都是正数 #include using namespa...
分类:
其他好文 时间:
2016-03-22 21:49:16
阅读次数:
219
一、这次复审的是李成帅(130201127)同学的四则运算代码,源代码如下: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawin
分类:
其他好文 时间:
2016-03-22 20:42:39
阅读次数:
205
hibernateQuery.setFetchSize(Integer.MIN_VALUE); results = hibernateQuery.scroll(ScrollMode.FORWARD_ONLY); this is how to query data out using stream 防
分类:
Web程序 时间:
2016-03-22 19:28:43
阅读次数:
215