Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int lines;
- cin >> lines;
- for(int i = 0; i <= lines - 1; i++)
- {
- int times;
- cin >> times;
- cout << "B";
- for(int j = 1; j <= times; j++)
- {
- cout << "I";
- }
- cout << "G B";
- for(int j = 1; j <= times; j++)
- {
- cout << "O";
- }
- cout << "M";
- for(int j = 1; j <= times; j++)
- {
- cout << "!";
- }
- cout << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement