#include <iostream>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n = 0;
cin >> n;
for(int i = 0; i < n / 100; i++){
cout << "B";
}
for(int i = 0; i < n / 10 % 10; i++){
cout << "S";
}
for(int i = 1; i <= n % 10; i++){
cout << i;
}
return 0;
}
B1006 换个格式输出整数 (15 分)
最新推荐文章于 2022-11-06 00:17:03 发布