Convert AtCoder abc_213_C from cpp to Rust. (Runtime Error)

Revision en1, by the_over_ape, 2021-08-08 23:28:09

I need a good soul from AtCoder to give me a hint. I was trying to convert my abc_213_c solution from C++ to Rust. But I am facing errors on the samples that do not occur on my machine.

https://atcoder.jp/contests/abc213/submissions/24901819

The AtCoder GitHub page for Rust is 100% Japanese: https://github.com/rust-lang-ja/atcoder-rust-resources/wiki/Since-1.15.1 All I could extract from it is their rust version is 1.42.0, mine 1.54.0. Both are edition 2018.

Has any Rustaceans faced similar issue? If not could someone on AtCoder give the actual runtime Error?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English the_over_ape 2021-08-08 23:28:09 640 Initial revision (published)