提交时间:2024-11-30 10:45:34
运行 ID: 839
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; if(n <= 100) { cout<<n * 2; } else { int temp = n - 100; cout<<temp + 100 * 2; } return 0; }