|
0
You're not alone... I also noticed the solution but I'm not sure, and I searched for evidence that led to nothing. |
|
0
Hello all ! Anyone can teach me or give some ideas of how to solve the problem C with DFS iterative ? Thanks a lot ! |
|
0
Hello world ! I'm still a beginner and I'm exercising and I have a WA on test 11 on the "White sheet" problem. And I wonder what's wrong with my algorithm. My algorithm is as follows: My solution is, is there still an area of the white sheet remaining after the 2 black sheets cover it? 1) I ask if white overlap with black1 and black2 but black1 and black2 not overlap. 2) white overlap with black1 and black2 and black1 and black2 overlap too. 3) white overlap with black1 and not overlap with black 2. 4) white overlap with black2 and not overlap with black1. 5) if white_area>0 then "YES" otherwise, "NO" My algorithm is true? Thank you My code is here: https://mirror.codeforces.com/contest/1216/submission/155029214 |