Lecture des entrées 2

Écrivez un programme qui lit les entrées jusqu'à atteindre l'un des mots d'arrêt (end, End, finish, Finish, done, Done) et affiche le texte saisi en sortie. Dès que le programme rencontre l'un des mots d'arrêt, il doit s'arrêter.

Entrée

Sortie

hello
my
name
finish

hello
my
name

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue