ENG
RUS
Timus 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
2159
. Essay
Wa 22
Posted by
FaNato4kA_TiMoFeYa
30 Aug 2024 10:10
Test:
1 4
m
m a
a b
b c
c a
Output:
-1
© 2000–2024
Timus Online Judge Team
. All rights reserved.