include using namespace std; typedef long long ll; const double eps = 1e 7; const int maxn = 5e5 + 5; const double pi = acos( 1.0); char a[maxn]; int ...
分类:
其他好文 时间:
2018-05-06 10:34:44
阅读次数:
150
``` Problem L: CreatorX背英语 Time Limit: 1 Sec Memory Limit: 64 MB Submit: 53 Solved: 36 [Submit][Status][Web Board] Description CreatorX最近在忙着背英语, Hzk i ...
分类:
其他好文 时间:
2018-05-06 00:15:53
阅读次数:
155
``` Problem B: Averyboy找密码 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 83 Solved: 29 [Submit][Status][Web Board] Description Averyboy获得了一个串只由大小写字母组... ...
分类:
其他好文 时间:
2018-05-06 00:12:33
阅读次数:
152
``` Problem J: 幻化 Time Limit: 2 Sec Memory Limit: 128 MB Submit: 18 Solved: 3 [Submit][Status][Web Board] Description 遇见你是我一世的春暖花开, 从此清风明月浩瀚星海。 不论结局,很 ...
分类:
其他好文 时间:
2018-05-05 23:03:52
阅读次数:
216
通过这几天的学习,我觉得自己虽有基础,但应注重细节,以及计算机的思考模式。比如刷oj,编译器对我们每一个环节的要求都十分苛刻,我至今无法忘记因为指针未初始化找了一天的糟糕体验,以及3+2与%d+%d之间的区别。编译器在某种程度上来讲十分的“not sensitive and native”,但是,我 ...
分类:
其他好文 时间:
2018-05-03 23:30:10
阅读次数:
207
style name=”AppBaseTheme” parent=”Theme.AppCompat.Light” 改为 改为 style name=”AppBaseTheme” parent=”android:Theme.Light” 同理,将 style name=”AppBaseTheme” p ...
分类:
移动开发 时间:
2018-05-03 17:23:26
阅读次数:
214
以前做OJ的时候都想不通为什么是DP,现在终于搞明白了。 一开始想的时候,想着 dp[i] 为下标0~i元素最大的字串和。 dp[i] = max { dp[i-1] a[i]不在subarry中 dp[i-1]+ a[i] 在subarray中 承接之前的subarray a[i] } 在suba ...
分类:
其他好文 时间:
2018-05-02 15:46:00
阅读次数:
136
一、Three.js中有哪些光源? 在Three.js中,光源有一个基类THREE.Light(hex),这个hex接受16进制颜色作为参数而初始化光源的颜色,比如我们要定义一种绿色的光源,可以这样来定义: 而作为3d引擎three.js,这个基类是很难满足我们的要求的,所以,我们还需要继承这个基类 ...
分类:
Web程序 时间:
2018-05-01 17:48:06
阅读次数:
193
#include<iostream>using namespace std;int n,m;int d[120];int t=1;int re;struct Node{ int data; int left; int right;}node[120]; void zhao(int k){ if(no ...
分类:
其他好文 时间:
2018-04-29 22:08:45
阅读次数:
169
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. OJ's undirected graph serialization: Nodes are labeled ...
分类:
其他好文 时间:
2018-04-29 13:17:12
阅读次数:
208