Run ID:3121
提交时间:2020-12-02 20:40:52
#include <iostream> using namespace std; int main(){ int x, y; cin >> x; if (x < 1) cout << x << endl; else if (1 < x < 10) cout << x * 2 - 1 << endl; else cout << x * 3 - 11 << endl; return 0; }