Welcome Mat
CodeChefOpen on judge ↗
Problem description. Mr. Vincent works in a door mat manufacturing company. One day, he designed a new door mat with the following specifications: 1) Mat size must be X. ( is an odd natural number, and is times .) 2) The design should have 'WELCOME' written in the center. 3) The design pattern should only use |, . and - characters. Sample Size: 7 x 21 Input A single line containing the val
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start