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)
hide comments
nadstratosfer:
2018-08-06 05:06:49
My solution finds "SAZZAD" 3 times, in row 7 and columns 4 and 8. This gets WA as well as the one where I force the output 2 for this name as in the (wrong) example. Judge runs multiple times even though there is no input. Even the psetter himself needed multiple attempts (guessing?) to get this right. I suspect wrong judge solution. |
Added by: | Setu |
Date: | 2014-04-05 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |