很简单了,当m>=3&&m-1&&m.compareTo(n.add(p))<1){ System.out.println("YES"); } else System.out.println("NO"); } }}
分类:
其他好文 时间:
2015-03-29 22:07:40
阅读次数:
123
枚举型代码using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System;namespace dierke{ ...
在 .NET 3.5 之后,定义在命名空间 System.Runtime.Serialization.Json 中的 DataContractJsonSerializer 可以帮助我们直接将一个对象格式化成 JSON,或者将一个 JSON 反序列化为一个 .NET 中的对象实例
分类:
Web程序 时间:
2015-03-29 20:52:40
阅读次数:
132
实例(Instance)数据库启动后在内存中的印象,管理数据库正常运行。在OS中以ORACLE_SID标识,在DB中以instance_name标识,组成(System Global Area + Background Process)。查看实例名:echo $ORACLE_SIDshow para...
分类:
数据库 时间:
2015-03-29 20:48:03
阅读次数:
153
接上一篇,有三个输入框,都要求输入1-6个英文字符或数字。测试用例:09aaaaa不合法0+09不合法009a合法输入下面是测试结果:源代码如下:using System;using System.Collections.Generic;using System.ComponentModel;usi...
分类:
其他好文 时间:
2015-03-29 19:33:59
阅读次数:
131
首先准备一个类来实现对验证码的绘制功能。createcode.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 using System.Dra...
分类:
Web程序 时间:
2015-03-29 19:24:25
阅读次数:
128
首先是被雨松大大唤醒的数学知识,代码参考自这里:
using UnityEngine;
using System.Collections;
public class TestRot : MonoBehaviour {
public Transform target;
void Start()
{
//四元数rotation的一些运算
...
分类:
编程语言 时间:
2015-03-29 18:08:56
阅读次数:
363
/// /// 添加控件方法 /// /// public System.Windows.Forms.TextBox AddNewTextBox() { Point p = new Point(); ...
分类:
其他好文 时间:
2015-03-29 17:47:03
阅读次数:
104
public class Test {
public static void main(String[] args) {
System.out.println(new CountingGenerator.String(12).next());
ListInteger> list=new ArrayListInteger>();
list.a...
分类:
编程语言 时间:
2015-03-29 15:10:14
阅读次数:
276
其实做一个小的系统能给人带来些许的快乐和满足感,MenuOS之前完成过,知识之间是有联系的;system_call要求系统执行相应的指令,逐步访问,根本上还是C语言的应用。刘占鹏 《Linux内核分析》MOOC课程http://mooc.study.163.com/course/USTC-10000...
分类:
其他好文 时间:
2015-03-29 14:47:32
阅读次数:
101