#include <iostream> using namespace std; int main() { int x; cin >> x; // 提取前两位 int first_two = x / 100; // 提取后两位 int last_two = x % 100; // 计算小华带的金额 int result = last_two * 100 + first_two; cout << result << endl; return 0; } /************************************************************** Problem: 1616 User: fuyijun Language: C++ Result: Accepted Time:7 ms Memory:2072 kb ****************************************************************/