传送门:http://acm.hdu.edu.cn/showproblem.php?pid=5179
beautiful number
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 176 Accepted ...
分类:
其他好文 时间:
2015-03-02 09:40:49
阅读次数:
2364
A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number. All single digit numbers are palindromic numbers...
分类:
其他好文 时间:
2015-03-02 09:36:02
阅读次数:
111
传送门:beautiful number题意:令 A=∑ni=1ai?10n?i(1≤ai≤9)(n为A的位数)。若A为“漂亮的数”当且仅当对于任意1≤i#include #include #include #include #include #include #include #include #...
分类:
其他好文 时间:
2015-03-01 23:32:06
阅读次数:
135
Option Explicit OnOption Strict OnImports System.ReflectionImports System.DiagnosticsPublic Structure ErrInfo Public Number As Integer Public De...
分类:
Web程序 时间:
2015-03-01 22:17:09
阅读次数:
276
Problem Description
A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine each digit as a box with weight indicated by the dig...
分类:
其他好文 时间:
2015-03-01 21:05:16
阅读次数:
134
数位DP同上一题Windy数预处理求个组合数然后同样的方法,这次是记录一下0和1的个数然后搞搞Orz cxlove 1 /************************************************************** 2 Problem: 1662 3 ...
分类:
其他好文 时间:
2015-03-01 19:41:34
阅读次数:
131
begin try select 1/0end trybegin catch select error_number() as 'number', error_line() as 'line', error_message() as 'mess...
分类:
数据库 时间:
2015-03-01 18:24:48
阅读次数:
174
Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Ncis the number of distinct common numbers shared by the two...
分类:
其他好文 时间:
2015-03-01 18:21:51
阅读次数:
181
水题 1 #include 2 #include 3 const int maxn=1e6+5; 4 const int maxm=1e4+5; 5 int p[maxm]; 6 int t[maxn]; 7 int f[maxm]; 8 int n,m; 9 void getfail()10 {1...
分类:
其他好文 时间:
2015-03-01 17:01:46
阅读次数:
166
点击打开链接
beautiful number
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 250 Accepted Submission(s): 123
问题描述
令 A=∑ni=1ai?...
分类:
其他好文 时间:
2015-03-01 15:45:30
阅读次数:
168