Submit | All submissions | Best solutions | Back to list |
ULABCSE - ULAB Cse Deparment |
University of liberal arts and Bangladesh (ULAB) has a very strong computer science engneering department . In a University A department will be strong if those department have some good teacher . Of course ULAB CSE dept has some good teacher . In this problem you have to find the name of ULAB CSE dept teachers and how many time possible to write their names . please check the grid and Find those names .
Some famous ULABian Teachers :
1. Sazzad Hossain - SAZZAD SIR (short form)
2. Sifat Momen - SIFAT SIR (short form)
3. Abul Kalam Al Azad - AL AZAD SIR (short form)
4. T.M Abul Kalam Azad - AZAD SIR (short form)
5. Mahmood Jasim - JASIM SIR (short form)
6. Faisal Al Ameen M - FAISAL SIR (short form)
P | F | Z | A | A | D | O | S |
Q | J | I | Z | S | M | N | Z |
L | A | Z | A | D | A | Z | A |
R | M | J | A | S | I | M | Z |
S | I | B | D | I | L | N | A |
M | S | A | L | F | I | A | D |
T | S | D | Z | A | Z | A | L |
A | I | F | S | T | U | V | Z |
Rules :
1 . Each person's name may not be in its orginal form, letters may be permuted . example - "JASIM" can be present as "MIJAS" .
2. Name will be valid with this conditions:
____ (straight line left to right or right to left)
| (up to bottom or bottom to up)
/ (cross wise up to bottom or bottom to up)
\ (cross wise up to bottom or bottom to up)
3 . if any name is twice time in any row or coloum just count one for this name .
Input
No input for this problem .
Output
Just print the name of and print how many times the name in this grid .
Example
Output:
SAZZAD SIR 2 TIMES
SIFAT SIR _ TIMES
AL AZAD SIR _ TIMES
AZAD SIR _ TIMES
JASIM SIR _ TIMES
FAISAL SIR _ TIMES
Problem Setter : Imtiaz Dipto (ULAB)
Added by: | Setu |
Date: | 2014-04-05 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |
hide comments