#include <iostream>
#include <cstring>
#include <cstdio>
#include <algorithm>
using namespace std;
int main ( )
{
int n,m;
while ( ~scanf ( "%d%d" , &n , &m ))
{
printf ( "%d\n" , (m-1)%n );
}
}hdu 5158 水题
最新推荐文章于 2020-05-04 06:38:49 发布
545

被折叠的 条评论
为什么被折叠?



