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
1855
. Trade Guilds of Erathia
Zearot
WA6
[1] // Problem
1855. Trade Guilds of Erathia
29 Aug 2014 15:43
I used segment tree to solve it and got WA6.
What's special about test 6? Thanks.
mxzf0213
Re: WA6
// Problem
1855. Trade Guilds of Erathia
15 Sep 2016 12:46
Always remember to use long long!
please notice that a*b maybe exceed INT_MAX!
I have wa 6 and change this to ac!
© 2000–2026
Timus Online Judge Team
. All rights reserved.