码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
iTween的简单用法
iTween的简单用法 1 using UnityEngine; 2 using System.Collections; 3 4 public class HelloiTween : MonoBehaviour { 5 6 Hashtable lht = new Hashtable(); 7 8 9
分类:其他好文   时间:2016-02-01 02:10:43    阅读次数:124
POJ3070-Fibonacci-矩阵快速幂
模板题。 #include <cstdio> #include <cstring> using namespace std; const int MOD = 10000; int N; struct matrix { int m[2][2]; }ans,base; matrix multi(matr
分类:其他好文   时间:2016-02-01 01:44:17    阅读次数:252
NPOI导出功能
利用NPOI组件将数据中想要的数据导出到excel表格中。 demo如下 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using NPOI.HSSF.U
分类:其他好文   时间:2016-02-01 01:41:06    阅读次数:149
Access denied for user 'root'@'localhost' (using password:YES) 解决方案[转]
关于昨天下午说的MySQL服务无法启动的问题,解决之后没有进入数据库,就直接关闭了电脑。 今早打开电脑,开始-运行 输入“mysql -uroot -pmyadmin”后出现以下错误: “Access denied for user 'root'@'localhost' (using passwor
分类:数据库   时间:2016-02-01 01:39:33    阅读次数:230
九度[1082]代理服务器
1 # include<iostream> 2 # include<string> 3 # include<cstring> 4 using namespace std; 5 int main(){ 6 int n=0,m=0; 7 string a[1000],b[5000]; 8 int pos
分类:其他好文   时间:2016-01-31 21:49:19    阅读次数:278
POJ3273-Monthly Expense-二分答案
FJ对以后的每一天会花mi块钱,他想把这些天分成M个时段,然后每个时段的花费和最小。 二分答案,如果加上这天还没有达到mid,就加上它。之后看分成的时段是否大于M #include <cstdio> #include <algorithm> using namespace std; int n,m,
分类:其他好文   时间:2016-01-31 21:46:14    阅读次数:173
POJ3258-River Hopscotch-二分答案
一条河里有一串石头,给出石头间的间距,让你去掉m个石头,使最短间距最大。 二分答案,对于每一种mid,判断要不要删除这块石头。然后逼近答案。 #include <cstdio> #include <cstring> #include <algorithm> using namespace std;
分类:其他好文   时间:2016-01-31 21:44:28    阅读次数:215
Using View and Data API with Meteor
By Daniel Du I have been studying Meteor these days, and find that Meteor is really a mind-blowing framework, I can talk about this latter. I was insp...
分类:Windows程序   时间:2016-01-31 21:38:47    阅读次数:670
九度[1084]整数拆分
1 #include <iostream> 2 3 using namespace std; 4 5 int dp[1000001]; 6 7 int main() { 8 int n; 9 while (cin >> n) { 10 dp[1] = 1; 11 dp[2] = 2; 12 for
分类:其他好文   时间:2016-01-31 21:38:02    阅读次数:194
CodeForces 191C 树链剖分 第4遍
非常无奈,模板重新无奈的打错了。。只是,非常快便找到了。。 题意:给一些边,有一些操作,每次操作,都要在这些边上加上1,求每一个边的边权。。 #include<cstdio> #include<iostream> #include<cstring> #include<algorithm> using
分类:其他好文   时间:2016-01-31 21:33:58    阅读次数:239
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!