Teamscode Spring 2023 Editorial

Revision en14, by willy108, 2023-04-06 18:49:12

This is the editorial for a recent contest Teamscode. The problems are open for upsolving on this gym. Problems were prepared by oursaco, dutin, thehunterjames, Bossologist, Esomer, and me.

A. What do you do when the contest starts? Are you busy? Will you solve Bingo?

Editorial
Code

B. Mountain Climbing Easy

Solution
Code

C. No Sweep

Solution
Code

D. Multiplication Table

Solution
Code

E. Cyclic Shifts

Hint
Solution
Code

F. Great Common Multiple

Solution
Code

G. Daggers

Hint 1
Hint 2
Solution
Code

H. A Certain Scientific Tree Problem

There are many solutions to this problem, some simpler than others, but I'll present the intended solution which involves the distance formula between two nodes.

Hint 1
Hint 2
Solution
Code

I. Mountain Climbing Hard

Solution
Code

J. Two and Three

Editorial
Code

K. That Time I Got Reincarnated As A String Problem

Hint 1
Solution
Code

L. Stuck on Bricks

Solution
Code

M. Magic labyrinth

Hint 1
Hint 2
Hint 3
Solution
Code for the first method
Code for the second method

N. This Tree Problem Is Done For

Hint 1
Hint 2
Solution
Code

O. Prefix queries

Hint 1
Hint 2
Hint 3
Solution
Code

P. In Another World With My Range Query Problems

Hint 1
Hint 2
Solution
Code

Q. Another Floors Problem

A solution for this problem is not published yet. For now, please refer to this tester solution.

Code

R. Bingo

Solution for k = 20 that also happens to cheese and ac
Intended solution. Can be used to solve k = 27
Code
Tags teamscode

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en15 English willy108 2023-04-06 18:49:23 0 (published)
en14 English willy108 2023-04-06 18:49:12 0 (saved to drafts)
en13 English willy108 2023-04-06 18:48:49 0 (published)
en12 English willy108 2023-04-06 18:48:36 26 Tiny change: '3-04-06], and me.' -> '3-04-06], [user:Esomer], and me.' (saved to drafts)
en11 English willy108 2023-04-06 18:46:30 0 (published)
en10 English willy108 2023-04-06 18:46:12 20 (saved to drafts)
en9 English willy108 2023-04-06 18:43:45 0 (published)
en8 English willy108 2023-04-06 18:42:54 135
en7 English willy108 2023-04-06 18:35:23 2 Tiny change: 't in base 6 is all th' -> 't in base $6$ is all th'
en6 English willy108 2023-04-06 18:27:33 1
en5 English willy108 2023-04-06 18:26:55 13468
en4 English willy108 2023-04-06 18:23:36 18578
en3 English willy108 2023-04-06 17:10:34 9698
en2 English willy108 2023-04-06 17:09:14 17334
en1 English willy108 2023-04-06 17:06:54 5423 Initial revision (saved to drafts)