| 
 | 
| Show all threads     Hide all threads     Show all messages     Hide all messages |  | Hint for Tl | Hououin`~`Kyouma | 1844. Warlord of the Army of Mages | 11 Aug 2025 12:45 | 1   |  Precalc + don't use set, use bitsets instead  |  | Hint for WA 2 and 5, that helped me | Hououin`~`Kyouma | 1844. Warlord of the Army of Mages | 11 Aug 2025 12:41 | 1   |  "You have to determine whether such a stupid DEFEAT is possible." NOT a victory, but a DEFEAT.   Edited by author 11.08.2025 12:41  |  | Read carefully the statement  | Deepesson | 1844. Warlord of the Army of Mages | 5 Jan 2021 02:06 | 1   |  One doesn't have to execute their actions followed by the other. For instance: Sandro can execute 7 consecutive actions and after that Zagamius could execute 20. So basically, their turns don't need to be consecutive. Misinterpretation will lead to WA#4 or WA#5.   Edited by author 05.01.2021 02:08  |  | WA#5 | FreezingCool | 1844. Warlord of the Army of Mages | 31 May 2014 03:14 | 5   |  WA#5 FreezingCool 28 Sep 2011 06:36 Could anyone give me some similar test case like test 5? I am having some problems with this one.   Also, I have a question about the task.   Is this situation possible: +1 +2 -2 -1 +2 -2 +1 -1   My question is pointing at this: After the first moment, first master will call mage 1 (+1) and second master will call mage 2 (+2). In the second moment, is the first master able to call mage 2 since the second master is letting the mage 2 go in the exact same moment? see this 1 6 6 2 + 1 - 1 + 1 + 2 - 1 - 2 + 1 - 1 + 2 + 1 - 1 - 2   answer: :-( My program gives correct answer for that test case but sill WA i can't figure out why. Can you give me other tests? I can't find what's wrong...   I used DP,  a[i][j]  - true - iff Sandro begin i-th step, and Zagamius j-th. little hint:  if mag[i] == mag[j] and both are '+'  then a[i][j] = false.  |  
  |  
  | 
|