segment font-content"><div style="position: relative; overflow: hidden;"><div><span style="font-size: medium">给定n,m，求<img height="119" alt="" width="177" src="upload/201404/111.jpg" /> 模10^9+7的值。</span></div></div></div></div></div><div class="row"><div class="column"><h4 class="ui top attached block header">输入格式</h4><div class="ui bottom attached segment font-content"><div style="position: relative; overflow: hidden;"><div class=content><div><span style="font-size: medium">仅一行