kadobot's blog

By kadobot, history, 3 years ago, In English

Regarding this submission, it gives the desired result when I run the tests on my machine (I'm using the same Rust version 1.42.0). Although, as you can see, it gives a different output when Codeforces execute it's tests.

Any idea?

Thanks in advance.

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

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it
fn solve(input: &str) -> usize

usize equals to u32 on 32-bit systems. Like, for example, codeforces online judge