自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (1)
  • 收藏
  • 关注

原创 COdeforces Round #264 (Div. 2) C. Gargari and Bishops

直接暴力枚举,分别枚举hei #include #include #include #include #include #include using namespace std; typedef long long ll; const int maxn = 2005; int grid[maxn][maxn]; ll a[maxn<<1],b[maxn<<1]; int n; in

2014-08-31 00:31:24 436

原创 Light OJ 1138 - Trailing Zeroes (III)

采用二分法, #include #include #include using namespace std; typedef long long ll; const int maxn = 1000000000; ll fac(int n,int x){ ll ans = 0; while(n){ ans += n/x; n /= x;

2014-08-12 12:25:01 676

原创 Codeforces Round #260 (Div. 2)C. Boredom

动态规划问题。 dp[i]biao'sh

2014-08-09 18:35:03 417

原创 Codeforces Round #260 (Div. 2)B. Fedya and Maths

#include #include #include #include #include #include #include using namespace std; const int maxn = 100005; char num[maxn]; int n; int mpow(int x,int y){ int ans = 1; for(;y;y>>=1){

2014-08-09 17:06:07 376

原创 Light OJ 1090 - Trailing Zeroes (II)

#include #include #include #include #include #include #include using namespace std; int fac(int x , int y){//N! int s = 0 ; while(x){ s += x/y ; x /= y ; } ret

2014-08-07 16:24:38 557

原创 Codeforces Round #FF (Div. 2)C. DZY Loves Sequences

从两个方向进行预处理,然后枚举出最大值。

2014-08-07 13:46:41 396

原创 Codeforces Round #256 (Div. 2) D. Multiplication Table

#include #include #include #include #include #include #include using namespace std; typedef long long ll; int main(){ // freopen("in.txt","r",stdin); ll n,m,k; while(cin>>n>>m>>

2014-08-05 14:18:36 434

Android开发笔记之Adapter用法

三个示例代码,分别演示了ArrayAdapter,SimpleAdapter,和BaseAdapter的用法。

2016-06-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除