mirror of
https://github.com/xlucn/PAT.git
synced 2026-10-03 00:23:15 +08:00
14 lines
261 B
C
14 lines
261 B
C
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
int n;
|
|
scanf("%d", &n);
|
|
|
|
for(int i = 0; i < n / 100; i++) putchar('B');
|
|
for(int i = 0; i < n / 10 % 10; i++) putchar('S');
|
|
for(int i = 0; i < n % 10; i++) putchar('1' + i);
|
|
|
|
return 0;
|
|
}
|