A vision to see different beautiful viewsCubeis a shortcut formultidimensional dataset, given that data can have an arbitrary number ofdimensions. The...
分类:
其他好文 时间:
2015-01-27 21:49:15
阅读次数:
1824
题意:给你两个数p和x,然后让你找出一个长度为p的数,把它的最后移到最前面之后得到的数是原来数字的x倍,有很多这样的数取最小。思路:枚举最后一位,然后就可以推出整个的一个数,然后比较得到的数的第一个数字和枚举的数字是否相等既可以。 1 #include 2 #include 3 #include.....
分类:
其他好文 时间:
2015-01-26 22:43:06
阅读次数:
233
From:http://blog.csdn.net/xiadik/article/details/41648181package com.wangran.beautiful_girl_show.view;import com.wangran.beautiful_girl_show.view.phot...
分类:
移动开发 时间:
2015-01-26 22:27:22
阅读次数:
460
uva 10054 The Necklace
My little sister had a beautiful necklace made of colorful beads. Two successive beads in the necklace shared a common color at their meeting point. The figure below ...
分类:
其他好文 时间:
2015-01-26 19:26:10
阅读次数:
98
ZOJ 2829 Beautiful Number(睡前一水)...
分类:
其他好文 时间:
2015-01-26 00:05:32
阅读次数:
164
Beautiful numbers
Time Limit:4000MS Memory Limit:262144KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Volodya is an odd boy and his taste is strange as well. It ...
分类:
其他好文 时间:
2015-01-21 15:18:19
阅读次数:
189
想了半天,总算想出来了。这题刚上来的思路很明显是11维DP。。但是明显不可取。。
这题的关键在于只要两个数前面的拥有的数字是一样的,而且此时与其最小公倍数的模是一样的,那么这时候就可以认为对所有的数字取模都是相等的,那么后面的总情况数属于完美数的情况也是相同的。
只要想到这步的话,那么基本思路就出来了,我第一次居然脑残的记录lcm与模2520(2到9的最小公...
分类:
其他好文 时间:
2015-01-19 22:47:04
阅读次数:
286
自从去年4月份学姐教完我数位DP,还是第一次写出这么漂亮的代码,也是醉了。
首先你要知道sum%(x*n) %x == sum%x,这样就可以在dfs的时候记录2到9的最小公倍数2540取余了。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#pragma c...
分类:
其他好文 时间:
2015-01-19 20:59:15
阅读次数:
141
不管是采用七层,或是沿用三层,层与层之间的工作划分都有很强的次序。既然划分好了层级,规定好了各层各自的任务,那就去尊重,照章实现就好了。各层不仅要履行好自身的职责,能在自身职责的基础上,再发放些福利,那不仅程序做得Beautiful,合作也会Beautiful!
直面问题。举例说明一下:
在“机房收费系统”的上机业务实现中,界面层(UI层)接收用户输入的上机所需的必...
分类:
其他好文 时间:
2015-01-01 00:17:50
阅读次数:
107
JFMinimalNotificationsThis is an iOS UIView for presenting a beautiful notification that is highly configurable and works for both iPhone and iPad. JF...
分类:
其他好文 时间:
2014-12-30 23:21:29
阅读次数:
265