aohkgnadnart__'s blog

By aohkgnadnart__, history, 3 years ago, In English

I don't understand why using function pointers is WA. Help me!

Here is the code using function pointer: 130577608

Here is the code AC: 130578608

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

»
3 years ago, # |
Rev. 2   Vote: I like it +1 Vote: I do not like it

Try and submit the WA and AC code in C++20 , both are giving an error code for out of bounds.

So check the code for RTE and it should run fine.

About the error code

»
3 years ago, # |
  Vote: I like it +4 Vote: I do not like it