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
相關文章
相關標籤/搜索