金昱帆 • 1个月前
#include<bits/stdc++.h> using namespace std; int main() { int x; cin >> x; int s[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; cout << s[x - 1]; return 0; }
评论: