Computers with no internet access and nothing but the compiler chain and text documentation installed. Coding like it's 1980s again!
It was referred to as "book code."
I love this comment because in 20 years coding with no AI will be "coding like it's 2020 again".
The challenge is figuring out how to provide a novice (high school students) with a skill appropriate challenge to assess them on that is also not trivially solved by the use of an LLM, and you likely can't. Or you go the IT route and restrict what's available on and from the computers (see my comment about how ACM and IEEE contests used to do things, they may still run that way but I'm uninvolved so don't know).