自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 位运算的一些案例

C. Bits time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Let's denote as  the number of bits set ('1' bits)

2014-11-13 14:41:58 294

原创 该暴力的时候还是要暴力滴!

#include #include #include #include #include #include #include using namespace std; #define MAX 1005 #define T printf("***\n");  #define arr0 memset(arr,0,sizeof(arr)); #define arr1 memset

2014-11-02 22:12:04 427

原创 遇到大数据题目时,尽量找规律来解决

C. Table Decorations time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You have r red, g green and b blue ba

2014-10-28 11:21:57 474

转载 全排列生成算法:next_permutation

概念 全排列的生成算法有很多种,有递归遍例,也有循环移位法等等。C++/STL中定义的next_permutation和prev_permutation函数则是非常灵活且高效的一种方法,它被广泛的应用于为指定序列生成不同的排列。本文将详细的介绍prev_permutation函数的内部算法。 按照STL文档的描述,next_permutation函数将按字母表顺序生成给定序列的下一个较

2014-10-21 10:05:24 282

原创 格式一定要控制好

Write a program that finds and displays all pairs of 5-digit numbers that between them use the digits 0 through 9 once each, such that the first number divided by the second is equal to an integer N

2014-10-19 21:37:27 300

原创 第一篇博文

今天开始做理工住宿的主界面,那个CODE竞赛题

2014-07-16 17:43:20 345

空空如也

空空如也

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

TA关注的人

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