using UnityEngine;using System.Collections;public
class example : MonoBehaviour {public void Awake() {Screen.SetResolution(1024,
768, true);//自己想要的分辨率...
分类:
其他好文 时间:
2014-06-06 22:26:24
阅读次数:
165
using System;using System.Collections.Generic;using
System.Data.Entity;using System.Linq;using System.Linq.Expressions;using
System.Text;using SnsDB;u...
分类:
其他好文 时间:
2014-06-06 21:45:06
阅读次数:
384
OCP:05322.An index called ORD_CUSTNAME_IX has
been created on the CUSTNAME column in the ORDERStable using the following
command:SQL>CREATE INDEX ord_...
分类:
其他好文 时间:
2014-06-06 20:56:28
阅读次数:
303
(参考官方文档:Using ViewPager for Screen Slides | Android
Developers)
分类:
移动开发 时间:
2014-06-06 20:51:19
阅读次数:
205
Sort a linked list inO(nlogn) time using
constant space complexity./** * Definition for singly-linked list. * struct
ListNode { * int val; * L...
分类:
其他好文 时间:
2014-06-06 20:01:30
阅读次数:
333
Divide two integers without using
multiplication, division and mod operator. 1 class Solution { 2 public: 3 int
divide(int dividend, int divisor) ...
分类:
其他好文 时间:
2014-06-06 17:40:07
阅读次数:
193
先去开撸了 把代码 贴上 ^ ^一段 暴力 TLE --一段 AC ---暴力 : TLE 1
#include 2 #include 3 #include 4 using namespace std; 5 6 const int size =
50010; 7 char str[size]...
分类:
其他好文 时间:
2014-06-06 16:22:49
阅读次数:
283
裸的线段树求区间的最大值。 1 #include 2 #include 3 using
namespace std; 4 5 #define MAXN 262144 6 7 int _v[MAXN > 1;23 build(lso),
build(rso);24 ...
分类:
其他好文 时间:
2014-06-06 15:44:06
阅读次数:
222
判断线段与直线的相交 这里有个地方需要注意的就是在 转换的时候容易报错
在叉积完后的判断符号的时候需要注意 这个地方会超出int 的范围2014-06-0320:14:04#include #include #include
#include using namespace std;struct p...
分类:
其他好文 时间:
2014-06-05 12:54:04
阅读次数:
238
#include #include using namespace Wm5;class
MyFrame : public WindowApplication3{ WM5_DECLARE_INITIALIZE;
WM5_DECLARE_TERMINATE;public: MyFram...
分类:
其他好文 时间:
2014-06-05 12:52:51
阅读次数:
361