![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM题解报告
文章平均质量分 83
afsfsfssf
这个作者很懒,什么都没留下…
展开
-
BestCoder Round #21 02 Formula题解(规律+离散化)
BestCoder Round #21 02 Formula 官方题解: 找规律 f(1)=1 f(2)=1*1*2=(1)*(1*2)=1!*2! f(3)=1*1*1*2*2*3=(1)*(1*2)*(1*2*3)=1!*2!*3! 式子可以简化为 f(n)=∏i=1n(n!)%MOD,直接打表不行,会超内存,可以对数据进行离线处理。排好序之后从小到大暴力。#原创 2014-12-07 14:39:37 · 472 阅读 · 0 评论 -
Problem - 499B - Codeforces(string+map)
B. Lecture time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You have a new professor of graph theory and he s原创 2015-01-08 12:38:18 · 640 阅读 · 0 评论 -
Problem - 501B - Codeforces(string+map)
B. Misha and Changing Handles time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Misha hacked the Codeforces si原创 2015-01-12 21:14:34 · 949 阅读 · 0 评论 -
HDU1251 统计难题题解(字典树入门)
HDU1251 统计难题题解 Problem Description Ignatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀). Input 输入数据的第一部分是一张单词表,每行一个单词,单词的长度不超过10,它们代表的是老师交给Ignatius统原创 2014-12-07 17:56:10 · 576 阅读 · 0 评论 -
Phone List题解(字典树)
Phone List 字典树题解 【科普】什么是BestCoder?如何参加? Phone List Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 11266 Accepted原创 2014-12-08 15:22:42 · 724 阅读 · 0 评论 -
Problem - 409C - Codeforces(brute force + math)
C. Hacking Cypher time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Polycarpus participates in a competition f原创 2015-01-09 10:55:40 · 470 阅读 · 0 评论