Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.
Problem hidden on 2013-05-08 09:12:20 by Mitch Schwartz

CHALL1 - BYU Pyramid

Here you will make a right-side-up pyramid (meaning small at the top and bigger at the bottom) using the letters "BYU!". 

Input

We will input one integer. This integer will be the height of the pyramid (# of lines) and the width of the base of the pyramid.

Output

You will output a right-side-up pyramid where each line is the appropriate number of charaters from "BYU!". It should be [the input number] lines tall and [the input number] characters wide at the base.

Example

Input:
7

Output:
B
BY
BYU
BYU! 
BYU!B
BYU!BY
BYU!BYU

Added by:Mark Clement
Date:2013-05-08
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:ASM32-GCC MAWK BC C-CLANG NCSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG COBOL COFFEE D-CLANG D-DMD DART ELIXIR FANTOM FORTH GOSU GRV JS-MONKEY JULIA KTLN NIM OBJC OBJC-CLANG OCT PICO PROLOG PYPY PYPY3 R RACKET RUST CHICKEN SQLITE SWIFT UNLAMBDA VB.NET

hide comments
2013-05-22 00:00:34 Federico Lebrón
Err. Are the test cases correct? Pretty sure my code is :s I tried both double and single newlines after each line of the input, and reading the input as unsigned long long.
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.