USACO Forum - Latest posts https://forum.usaco.guide Latest posts What should I do if I can't solve anything in module I’m at the Bronze level and can’t solve any of the problems in the “Introduction to Sorting” module. How can I complete this module?

]]>
https://forum.usaco.guide/t/what-should-i-do-if-i-cant-solve-anything-in-module/9117#post_1 Thu, 19 Mar 2026 14:30:37 +0000 forum.usaco.guide-post-17946
Issue with USACO guide's solution for lasers and mirrors One way to fix this is to check whether (dir, coord) was already processed before running the for loop.

]]>
https://forum.usaco.guide/t/issue-with-usaco-guides-solution-for-lasers-and-mirrors/9107#post_3 Tue, 17 Mar 2026 22:35:29 +0000 forum.usaco.guide-post-17937
Issue with USACO guide's solution for lasers and mirrors You’re right.

]]>
https://forum.usaco.guide/t/issue-with-usaco-guides-solution-for-lasers-and-mirrors/9107#post_2 Tue, 17 Mar 2026 22:34:09 +0000 forum.usaco.guide-post-17936
Issue with USACO guide's solution for lasers and mirrors In this problem, the usaco guide solution’s claims to be O(N), by doing a BFS and checking whether or not to update each point that shares the x value or the y value for the element at the front of the queue.

However, what if all N points were on the same line? Consider (1, 2), (1,3), (1,4)...(1, 100001) as the mirror positions, and (1,1) and (1, 100002) to be the starting and ending positions.

Although the dist would be found after processing the first point, it would do O(N) checks to update everything on the line for each element in the queue, making it O(N^2).

Am I missing something?

]]>
https://forum.usaco.guide/t/issue-with-usaco-guides-solution-for-lasers-and-mirrors/9107#post_1 Tue, 17 Mar 2026 22:22:33 +0000 forum.usaco.guide-post-17934
About Resources in Usaco Guide Up to you – sometimes the resources cover essentially the same material, so it suffices to read only one, sometimes not.

]]>
https://forum.usaco.guide/t/about-resources-in-usaco-guide/9085#post_2 Wed, 11 Mar 2026 19:59:03 +0000 forum.usaco.guide-post-17912
About Resources in Usaco Guide Should i Read the all resources which is provide in each section

]]>
https://forum.usaco.guide/t/about-resources-in-usaco-guide/9085#post_1 Wed, 11 Mar 2026 19:47:02 +0000 forum.usaco.guide-post-17911