Skip to content

Commit dd6c812

Browse files
Update usaco-784.mdx
1 parent 114e645 commit dd6c812

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

solutions/bronze/usaco-784.mdx

+18
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,22 @@ public class Lifeguards {
102102

103103
</Spoiler>
104104

105+
<Spoiler title="Hint 1">
106+
107+
How do you effectively store the shifts of the lifeguards in a way that you can
108+
see how many cover each time?
109+
110+
</Spoiler>
111+
112+
<Spoiler title="Hint 2">
113+
114+
If one of the lifeguards is fired, how would you see which of the times are
115+
still covered?
116+
117+
</Spoiler>
118+
119+
<Spoiler title="Solution">
120+
105121
## Explanation
106122

107123
[Official Analysis (Java)](http://www.usaco.org/current/data/sol_lifeguards_bronze_jan18.html)
@@ -226,3 +242,5 @@ print(max_time, file=open("lifeguards.out", "w"))
226242

227243
</PySection>
228244
</LanguageSection>
245+
246+
</Spoiler>

0 commit comments

Comments
 (0)