lmqzzz's blog

By lmqzzz, history, 4 hours ago, In English

As my friends and I prepare for the upcoming ICPC contests, we've been practicing our coding skills. However, we've encountered a challenge with following one of the key ICPC rules: only one person can code at a time, using a single monitor.

While practicing remotely, it's hard to stick to this rule. So, I started wondering if there is a way to replicate the ICPC coding environment in VSCode. Specifically, we need an extension that allows us to follow the "one-person coding" rule. Ideally, one person would have control over the keyboard at any time, while the others could view the code but not make edits unless control is transferred to them.

Does anyone know of a VSCode extension or setup that could help with this? It would be an excellent solution for teams wanting to simulate the real ICPC environment while practicing remotely.

  • Vote: I like it
  • +28
  • Vote: I do not like it

»
4 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

We're just pinning a message in the messenger we use to communicate in order to signal someone is coding (following mutex principle).

»
3 hours ago, # |
  Vote: I like it +3 Vote: I do not like it

Our team uses the VSCode Live Share extension, you can check that out if it works for you.