P4700 算
时间: 1000ms / 空间: 125829120KiB / Java类名: Main

背景

zhx和他的妹子出去玩。

描述

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAA6IAAADFCAIAAADBg9ivAAAgAElEQVR4Ae3dv2scV7vA8ZHz43Xiy/0TjMFWwMaNWgdEwEVsp3G1RQqnCEiBt7CbgA0BvQKDA2ns4oVIkCIuXGzl5pXtwmAEdqvGRBDZIPQv3OvESW689zlnZs6c+bnz48zszux3CdHs/HjOcz5nJD0enZldmkwmHi8EEEAAAQQQQAABBIYlcGxY3aE3CCCAAAIIIIAAAggoAcpczgMEEEAAAQQQQACBAQpQ5g5wUOkSAggggAACCCCAAGUu5wACCCCAAAIIIIDAAAUocwc4qHQJAQQQQAABBBBAgDKXcwABBBBAAAEEEEBggAKUuQMcVLqEAAIIIIAAAgggQJnLOYAAAggggAACCCAwQAHK3AEOKl1CAAEEEEAAAQQQoMzlHEAAAQQQQAABBBAYoABl7gAHlS4hgAACCCCAAAIIUOZyDiCAAAIIIIAAAggMUIAyd4CDSpcQQAABBBBAAAEEKHM5BxBAAAEEEEAAAQQGKECZO8BBpUsIIIAAAggggAAClLmcAwgggAACCCCAAAIDFKDMHeCg0iUEEEAAAQQQQAABylzOAQQQQAABBBBAAIEBClDmDnBQ6RICCCCAAAIIIIAAZS7nAAIIIIAAAggggMAABShzBziodAkBBBBAAAEEEECAMpdzAAEEEEAAAQQQQGCAApS5AxxUuoQAAggggAACCCBAmcs5gAACCCCAAAIIIDBAgUUqc1/d+/TTe68GOIh0CQEEEEAAAQQQQCApsEhl7plPzr+4sby0/kgQpORdWvIXkyS8RwABBBBAAAEEEOi/wCKVuXq01na2LsvCmevPJwd3X16h1u3/OUwPEEAAAQQQQACBDIGFK3MtAyl1d9Y8b/uhurzLCwEEEEAAAQQQQGBIAotc5so4Xt7aWVu7elnNYdBzGYY0tPQFAQQQQAABBBBYZIGlyWQyqP4/Wl+6sl23R2s7Ez2loe7xHIcAAggggAACCCAwJwKDK3O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6n9EOdbPJQq7qDIXPerry8W/pwfWqf3xnumT1Fm80IIIAAAghUFRhamVu1/33bnyK3byNGvggggAACCCAwI4HBP2lhRq7um5WLeXLb/sOrda8dus+IiAgggAACCCCAwBwLcDV3jgeH1BBAAAEEEEAAAQTqCnA1t64cxyGAAAIIIIAAAgjMsQBl7hwPDqkhgAACCCCAAAII1BWgzK0rx3EIIIAAAggggAACcyxAmTvHg0NqCCCAAAIIIIAAAnUFKHPrynEcAggggAACCCCAwBwLUObO8eCQGgIIIIAAAggggEBdAcrcunIchwACCCCAAAIIIDDHApS5czw4pIYAAggggAACCCBQV4Ayt64cxyGAAAIIIIAAAgjMsQBl7hwPDqkhgAACCCCAAAII1BWgzK0rx3EIIIAAAggggAACcyxAmTvHg0NqCCCAAAIIIIAAAnUFKHPrynEcAggggAACCCCAwBwLUObO8eCQGgIIIIAAAggggEBdAcrcunIchwACCCCAAAIIIDDHApS5czw4pIYAAggggAACCCBQV4Ayt64cxyGAAAIIIIAAAgjMsQBl7hwPDqkhgAACCCCAAAII1BWgzK0rx3EIIIAAAggggAACcyxAmTvHg0NqCCCAAAIIIIAAAnUFKHPrynEcAggggAACCCCAwBwLUObO8eCQGgIIIIAAAggggEBdgf8Hg9tCS7ecQDMAAAAASUVORK5CYII=" alt="" />

请在此填写题目描述

输入格式

仅一行,包含两个数N和M.

输出格式

仅一行,包含所求的答案mod 10^9 + 7的值。

【样例输入】

3 3

【样例输出】

56

备注

对于 50%的数据,所有1≤N,M≤1000。

对于100% 的数据,所有1≤N,M≤50000 。

题解:

等比数列:{a,aq1,aq2,aq3,aq4,aq5...aqn,...}

前m项的前缀和:s=a(1-qm)/(1-m);

费马小定理:若p为质数,ap-1%p=1

逆元:若ax%p=1(p为质数),则a,x互为逆元

则ans=sigma(1,n)q(1-qm)/(1-m)

由于同余定理不支持除法,逆元处理:

ans=sigma(1,n)q(1-qm)/(1-q)mod-2

考虑到负数问题

ans=sigma(1,n)q(qm-1)/(q-1)mod-2

最终

  ans=sigma(1,n)q(qm-1)/(q-1)mod-2

代码:

#include<cstdio>
#include<iostream>
#define ll long long
using namespace std;
const ll mod=1e9+;
ll n,m;
inline ll fpow(ll a,ll p){
ll res=;
for(;p;p>>=,a=a*a%mod) if(p&) res=res*a%mod;
return res%mod;
}
inline void solve(){
ll ans=n;
for(ll i=,tmp,s;i<=n;i++){
/*自己推的*/
//tmp=fpow(i,m+1);
//s=((tmp-1+mod)%mod)*fpow(i-1,mod-2)%mod;
//ans=(ans+s-1+mod)%mod;
/*学哥讲的等比数列*/
tmp=i*(fpow(i,m)-)%mod;
s=fpow((i-),mod-);
ans=(ans+tmp*s%mod)%mod;
}//应该是都对
cout<<ans%mod;
}
int main(){
ios::sync_with_stdio(false);
cin>>n>>m;
solve();
return ;
}

P4700 算的更多相关文章

  1. c 算牌器代码

    int main() { // 算牌器 ]; ; do { printf("请输入牌名: \n"); scanf("%2s",char_name); ; ]) ...

  2. 最小生成树---Prim算法和Kruskal算法

    Prim算法 1.概览 普里姆算法(Prim算法),图论中的一种算法,可在加权连通图里搜索最小生成树.意即由此算法搜索到的边子集所构成的树中,不但包括了连通图里的所有顶点(英语:Vertex (gra ...

  3. 【字符串匹配】KMP算法和next数组的c/c++实现

    KMP算法基本思想有许多博客都写到了,写得也十分形象,不懂得可以参考下面的传送门,我就不解释基本思想了.本文主要给出KMP算法及next数组的计算方法(主要是很多网上的代码本人(相信应该是许多人吧)看 ...

  4. 一次 Oracle 算出运算溢出问题 排查解决 (并非除数为零!)

    前段时间 出现过这个问题,: 表中有一列为number类型 rec_recordlength (两个时间的间隔长度/秒) 部分数据 统计这个字段就会出现 "算出运算溢出" 错误,很 ...

  5. geotrellis使用(十六)使用缓冲区分析的方式解决投影变换中边缘数据值计算的问题

    Geotrellis系列文章链接地址http://www.cnblogs.com/shoufengwei/p/5619419.html 目录 前言 问题探索 采样说明 实现方案 总结 一.前言     ...

  6. 用JAVA实现插值查询的方法(算近似值,区间求法)

    插值查询:如果有这样一张表,有一列叫水位,有一列叫库容,比如下面的图. 我现在想做这么一件事情:对于这个测站而言,当我输入某一个水位或者库容的时候,想要查询到对应的水位或者库容呢? 而这个值不一定是存 ...

  7. 怎么才能算大项目(Application),大的衡量?

    最近在思考一个问题,就是怎么才算一个大型项目,大的衡量有哪些东西?为什么要搞清这个问题呢,是因为在实际的开发过程中,如果知道这是个多大的项目,那就有各种相应的解决方案(我们称之为套路的东西)就可以使用 ...

  8. PHP计算两个时间段是否有交集(边界重叠不算)

    优化前的版本: /** * PHP计算两个时间段是否有交集(边界重叠不算) * * @param string $beginTime1 开始时间1 * @param string $endTime1 ...

  9. 两个NOI题目的启迪8皇后和算24

    论出于什么原因和目的,学习C++已经有一个星期左右,从开始就在做NOI的题目,到现在也没有正式的看<Primer C++>,不过还是受益良多,毕竟C++是一种”低级的高级语言“,而且NOI ...

随机推荐

  1. Android Studio 入门 Hello World

    Android Studio 入门 Hello World Gavin要加油 1.5k 6月22日 发布 推荐 1 推荐 收藏 17 收藏,2.1k 浏览 引言 前两天开始学习android开发,本来 ...

  2. java web 学习笔记 - Java Bean

    1. Java Bean 是一个简单的 java 类,一般放在WEB-INF下的 classes目录下(如果没有则需要手工新建) 一个简单的Bean包括属性,getter ,setter方法,如果没有 ...

  3. mac下iterm2 设置笔记

    1.利用brew install zsh 来安装oh my zsh 2.chsh -s /bin/zsh,修改~/.zshrc文件 alias cls='clear' alias ll='ls -l' ...

  4. java_IO_2

    1.字节流  InputStream(抽象类) package ioStudy; import java.io.File; import java.io.FileInputStream; import ...

  5. Ansible基于playbook批量修改主机名实战

    Ansible基于playbook批量修改主机名 安装Ansible,相信这里也不用多说,大家都知道 说一下环境:这里的主机名是修改之后的,我先把其他两台的主机名改为别的 192.168.30.21 ...

  6. 题解 洛谷P3203/BZOJ2002【[HNOI2010]弹飞绵羊】

    裸的LCT,关键是要怎么连边,怎么将这种弹飞关系转化成连边就行了. 那么我们可以这样连边: 一个节点i的爸爸就是i+ki. 没有i+ki那么就被弹飞了,即\(i\)的爸爸是虚拟节点n+1. 那么怎么求 ...

  7. 最长上升子序列(动态规划递推,LIS)

    1759:最长上升子序列 题目: 总时间限制: 2000ms 内存限制: 65536kB 描述 一个数的序列bi,当b1 < b2 < ... < bS的时候,我们称这个序列是上升的 ...

  8. 大理石在哪儿(Where is the Marble?,Uva 10474)

    现有N个大理石,每个大理石上写了一个非负整数.首先把各数从小到大排序,然后回 答Q个问题.每个问题问是否有一个大理石写着某个整数x,如果是,还要回答哪个大理石上 写着x.排序后的大理石从左到右编号为1 ...

  9. MySQL数据库grant授权命令

    MySQL数据库grant授权命令 制作人:全心全意 grant授权命令的使用 grant授权命令使用语法: grant 权限 on 数据库对象 to 用户 grant 权限 on 数据库对象 to ...

  10. 什么是restful