随笔分类 - 数论
摘要:题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=5976" Detachment Time Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others) 问题描述
        阅读全文
                
摘要:题目链接: "http://codeforces.com/problemset/problem/272/D" D. Dima and Two Sequences time limit per test2 secondsmemory limit per test256 megabytes 问题描述 L
        阅读全文
                
摘要:题目链接: "http://acm.hdu.edu.cn/showproblem.php?pid=5446" Unknown Treasure 问题描述 On the way to the next secret treasure hiding place, the mathematician di
        阅读全文
                
摘要:题目链接: 题目 "D. Remainders Game" time limit per test 1 second memory limit per test 256 megabytes 问题描述 Today Pari and Arya are playing a game called Rema
        阅读全文
                
摘要:题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5597 题意: http://bestcoder.hdu.edu.cn/contests/contest_chineseproblem.php?cid=658&pid=1003 题解: f0(1)=2;
        阅读全文
                
摘要:题目链接: http://codeforces.com/problemset/problem/57/C 题意: 给你一个数n,表示有n个数的序列,每个数范围为[1,n],叫你求所有非降和非升序列的个数。 题解: 由于对称性,我们只要求非降序的个数就可以了(n个数全部相等的情况既属于非升也属于非降) 
        阅读全文
                
摘要:题目链接: hdu: http://acm.hdu.edu.cn/showproblem.php?pid=5167 题意: 给你一个x,判断x能不能由斐波那契数列中的数相乘得到(一个数可以重复使用) 题解: 1、筛法 首先,小于10^9的斐波那契数很少,就42个(不包括0,1),对于给定的x能同时成
        阅读全文
                
摘要:题目链接: hdu:http://acm.hdu.edu.cn/showproblem.php?pid=5666 bc(中文):http://bestcoder.hdu.edu.cn/contests/contest_chineseproblem.php?cid=688&pid=1002 题解: 首
        阅读全文
                
摘要:题目链接: hdu:http://acm.hdu.edu.cn/showproblem.php?pid=5651 bc:http://bestcoder.hdu.edu.cn/contests/contest_showproblem.php?cid=682&pid=1002 xiaoxin juju
        阅读全文
                
摘要:hdu:http://acm.hdu.edu.cn/showproblem.php?pid=5391 bc: http://bestcoder.hdu.edu.cn/contests/contest_chineseproblem.php?cid=616&pid=1001 题目是叫我们求(n-1)!%
        阅读全文
                
摘要:题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5428 The Factor Accepts: 101 Submissions: 811 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 655
        阅读全文
                
摘要:题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=1121 Complete the Sequence Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Ot
        阅读全文
                
摘要:题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=1104 Remainder Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total S
        阅读全文
                
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号