Difference between revisions of "FAQ"
Jump to navigation
Jump to search
cg>JBM (Rate throttling?) |
|||
Line 1: | Line 1: | ||
+ | == What's the maximum submit rate? == | ||
+ | |||
+ | : There appear to be a soft limit (HTTP 522; CAPTCHA) and a hard one (HTTP 405). Are they puzzle-dependent? There's information about that sprinkled over the forum, but it's real hard to find again without more specifics :( [[User:JBM|JBM]] ([[User talk:JBM|talk]]) 12:39, 28 July 2020 (UTC) | ||
+ | |||
== Why do some Rust bots time out when playing in the IDE but not in the arena? == | == Why do some Rust bots time out when playing in the IDE but not in the arena? == | ||
Revision as of 12:39, 28 July 2020
What's the maximum submit rate?
- There appear to be a soft limit (HTTP 522; CAPTCHA) and a hard one (HTTP 405). Are they puzzle-dependent? There's information about that sprinkled over the forum, but it's real hard to find again without more specifics :( JBM (talk) 12:39, 28 July 2020 (UTC)
Why do some Rust bots time out when playing in the IDE but not in the arena?
CodinGame decided to compile Rust programs in debug mode for matches played in the IDE and in release (optimized) mode for arena matches. In Rust, there is an especially large difference between those two modes, because it is common to use high level features like iterators and higher-order functions that are slow in debug mode, but are optimized to very efficient machine code in release mode. In addition, arithmetic operations are checked for overflow in debug mode. Because of those, it is not rare for debug mode to be 10 times slower or more. This means that bots which are fine in the arena can often run out of time in the IDE.
Can I lose points by winning a match?
Yes, if you are very high (e.g. 40.0) and your opponent is very low (e.g. 5.0). See this explanation.