test p4 thi thử yếu quá
đã đăng vào 13, Tháng 5, 2026, 0:00ai sinh test p4 vậy
ai sinh test p4 vậy
well they are not trash, they're just unpleasant to deal with
constructive
greedy
math
ad hoc
implementation
An old blog discussed about how to ac every problem. One comment from a certain user struck me. Instead of the usual ~10^{-6736}~ chance, I can make it ~100\%~ under some conditions.
These following conditions must be met in order to guess, no, actually get the tests:
There is one trick I would like to introduce to you: the Kim Jong Un trick.
Code:
void nuke(){
while (1){}
}
How does this work?
When you call the ~nuke()~ function, your code automatically gets TLE (Time Limit Exceeded).
So how do we use this to our advantage?
For instance, the input is only a positive integer ~n~ ~(1 \le n \le 1000)~. What you are going to do is binary search on ~n~. First, you set the left bound ~l~ to 1, and the right bound ~r~ to ~1000~. You set ~mid~ to ~(l + r)/2~. You read ~n~ from the input, check:
After that, submit your code and check if it gets TLE. If it does, it means that ~n < mid~, and you should set the right bound to ~mid - 1~, if it doesn't, you set the left bound to ~mid + 1~. After about ~10~ submissions, you will be able to guess n of ~1~ test.
Do note that it's manual binary search (you do it by hand), not regular binary search.
This also works with bigger input (~2+~ integers, a whole array, etc.). For instance, you are trying to guess tests of a problem in which input consists of an array. You guess ~n~ using the method above, and guess ~a_i~ for all ~1 \le i \le n~ using the same mentioned method. Though if the array is long (~10^6+~ elements), good luck with staying up all night to submit your code tens of millions of times.
Boss
Due to EX skill damage reduction, it is not recommended to use students who has main damage source is EX Skill. Instead, you should use students that have high damage from their auto attack and Normal skill, and students whose EX skill is buffing stats or not directly deal damage instead.
It is a must to not spam your DPS students' EX skills too much, as this will result in DPS loss. Instead, you should keep an eye on the buffs to ensure that they won't run out of duration. And since Set deals multi-targets damage, a tank is unecessary in most scenario, but don't because of that, as some of them has at least team support ability. From floor 50 on, it is a must to bring students with Elastic or Special armor type as the boss now deal Explosive damage type.
Hawk-Piercing Flash will always happen periodically, there's no way to prevent it from striking. There're 2 obelisks on the map, the lightning strikes will hit the left one first, and then the right one if they both does not in Overcharged state and have the same health. After both obelisks is overcharged, students with highest health will be struck.
This attack will decrease student's damage by 70% for 40 seconds, it is recommended to put all your main DPS students on a side, and healing to the opposite side obelisks, remember to fully heal the obelisk to remove the overcharged effect. When dealing enough damage, a blue lightning orb will appear, allowing students' damage increased by 30% for 30s. This mechanic can be pretended to be non-exist due to serving no purposes than an indicator that the buff is on. While it rises overall damage per seconds, it only appear after enough damage is done and cannot be used for player's advantage in some ways.
On the other hand, the red orb only appears from floor 24 above, which will be summoned when "Arrow Through a Moment" casts. Timing when the orb's range covers all students is important, since it can increases overall output damage and it cannot resist EX skills' damage unlike Set.
Set's ATG gauge will increase throughout the match, due to its massive damage required for groggy gauge, preventing it from using skills is impossible.
Set's damage dealt will be depended on the ATG gauge, this is the main reason why at mid round, noticeably when Set's ATG gauge is between 2-3 gauges, any Set's attacks may absolutely murder students at recommended level if there's no healing support.
When Set's ATG gauge is full, it will throw a electro spear to your team, absolutely wiping any student at high floors, even with other armor types that counter Explosive damage; therefore, healing, especially DoT healing, is essential.
After then, it's groggy gauge will be fulfilled, causing it to stun and all player's students' damage will ignore stability and deal true damage with gain higher cost recovery. This is the player's last chance to dump as much damage as possible to Set, as after it recovered will the battle near the end.
dp
các bạn không dám downvote post của mình là do các bạn sợ rồi
mình thất vọng và khinh bỉ các bạn
mình LGM codeforces các bạn thì biết cái gì?? mình chấp các bạn 9 tiếng vẫn ac nhiều bài hơn các bạn
tôi code giỏi hơn các bạn đấy tin không các bạn chỉ bằng ngón út của tôi thôi
gregson không làm được bài 5000 codeforces là không bằng tao rồi
tôi là nô lệ của 67 còn bạn là 3667