Форд-Беллман#1453

Форд-Беллман (Discussion)

  1. Le_Nod18 июн. 2025 г., 14:54

    It seems that in some of the tests (most of them, in fact) numbers n and m are given in separate lines unlike in the example test. It matters for reading the input in Python for example.

    1. Connect18 июн. 2025 г., 16:10

      Le_Nod The problem has already been solved.In the input, n and m are given in one line. Try submitting the problem now

  2. user7953642 февр. 2024 г., 01:17

    I tried to submit a solution in Rust but I get runtime errors, but my solution in C++ works fine, what did I do wrong ?

    1. skolodyazhnyy2 февр. 2024 г., 08:41

      user795364 it seems your program goes out of bounds, it fails with this error:

      thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 1', source.rs:57:9
      note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    2. user7953642 февр. 2024 г., 10:43

      user795364 how do I get to see the error prompted by the tests ?

    3. skolodyazhnyy2 февр. 2024 г., 10:50

      user795364 it's not shown due to security considerations, you should prepare your own test cases, especially edge cases, and verify your program correctness before submitting it.

    4. user7953642 февр. 2024 г., 21:36

      skolodyazhnyy Thanks, I am new to the plateform, and since the replies button does not show any reply, I thought it was like bug or something.