51nod 2020 排序相减(暴力解法)

题目: c++ 代码:web #include <bits\stdc++.h> using namespace std; int trim(int x){ int a[4]; for(int i = 0;i < 4; i++){ a[i] = x%10; x /= 10; } sort(a, a+4); for(int i
相关文章
相关标签/搜索