ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1441. From the History of Gringotts Bank

MSDN Wa 3 [1] // Problem 1441. From the History of Gringotts Bank 21 May 2010 20:50
subj
Spatarel Dan Constantin Re: Wa 3 // Problem 1441. From the History of Gringotts Bank 26 Oct 2018 20:46
This might help:

input:
4 4
1 2
1 4
2 3
4 3

output:
1
1 4 3 2 1