Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб. Question by Ibrahim Mesecan.
Welcome Andi - 2
Question:
You are writing a login system for a website.
Write program that gets name and password from
the user. If the user enters correct password
(correct password is "1234"), you will show a
welcome message. If the password doesn't match,
you show a sorry message.
Input specification
You will be given two strings: Name and a password.
Both strings are not longer than 12 characters and
seperated by a space. Name contains only English
letters and password may contain only letters and/or
digits.
Output specification
Show the message "Welcome Name.", if the given
password is correct. Otherwise, show the message
"Sorry Name!". Please pay attention to the space
between the words and "." and "!" at the end of
messages.
Sample Input I |
Sample Input II |
Landi 1234 |
Ardi ab123 |
Sample Output I |
Sample Output II |
Welcome Landi. |
Sorry Ardi! |
Для отправки решений необходимо выполнить вход.
|