寒假做的题了,先贴那时写的代码。 POJ 1061 #include #include typedef long long LL; using namespace std; void extend_gcd(LL a,LL b,LL &d,LL &x,LL &y) { if(b==0) { d=a; ...
分类:
其他好文 时间:
2016-03-17 01:57:32
阅读次数:
201
/**********/ #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; /***...
分类:
编程语言 时间:
2016-03-17 01:52:45
阅读次数:
342
服务器端12345678910111213141516171819202122232425using System;using System.Web;using System.Text;public class PostComment : IHttpHandler { public void Pro...
分类:
其他好文 时间:
2016-03-16 22:30:17
阅读次数:
176
Have you ever wished that you had three legs? Imagine how much faster you could run. Today we are going to look at three steps to migrating GPOs betwe
分类:
系统相关 时间:
2016-03-16 19:12:22
阅读次数:
348
c++风格字符串 #include <iostream> #include <string> using namespace std; int main() { string str1 = "hello"; string str2 = "abc"; string str3 = "abc"; //拷贝
分类:
编程语言 时间:
2016-03-16 19:08:30
阅读次数:
156
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace testSwith{ enum Operat { Add
1、在workbench中表格显示为readonly ,更新时提示Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY colu
分类:
其他好文 时间:
2016-03-16 18:57:37
阅读次数:
194
xmlReader的名称空间using System.Xml; xmlReader是通过流的方式来读取xml文件的内容 <?xml version="1.0" encoding="utf-8" ?><!--<!-–This file represents a fragment of a book s
最近项目涉及到大量数据并发的问题,短时间内会产生和销毁大量对象,因此担心会不会影响系统的性能,考虑使用对象池的方案。 但是在对对象池的学习中,对于是否使用对象池产生的疑问。 MSDN中 “How to: Create an Object Pool by Using a ConcurrentBag”(
分类:
其他好文 时间:
2016-03-16 15:23:06
阅读次数:
283
【项目1:个人所得税计算器】
编写选择结构程序,输入个人月收入总额,计算出他本月应缴税款和税后收入(计算办法见附:关于个人所得税的有关背景知识)。
(1)自选if语句的嵌套或/和switch语句完成程序设计;
(2)下面给出程序的基本框架,请从课程主页找到链接下载使用。#include
using namespace std;
int main( )
{
d...
分类:
其他好文 时间:
2016-03-16 09:44:49
阅读次数:
228