hdu6351专题

hdu6351(暴力+技巧)---2018多校5

Beautiful Now 题目传送门 #include <iostream>#include <fstream>#include <cstdio>#include <cstring>#include <queue>#include <stack>#include <vector>#include <map>#include <set>#include <cmath>#in

HDU6351 Beautiful Now(2018HDU多校联赛第五场,思路)

Problem Description Anton has a positive integer n, however, it quite looks like a mess, so he wants to make it beautiful after k swaps of digits. Let the decimal representation of n as (x1x2⋯xm)10