Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 3) > this->size() (which is 2)
./run.sh: line 4: 22673 Aborted                 (core dumped) ./bank -f test-$1-reg.txt -v < test-$1-commands.txt > tmp
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 3) > this->size() (which is 2)
./run.sh: line 9: 22676 Aborted                 (core dumped) ./bank -f test-$1-reg.txt < test-$1-commands.txt > tmp

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.

Please double check your code to solve this problem and try again.

Your Answer

Verbose:
8a9,36
> User p5 logged out.
> Sender p5 is not logged in.
> Select a time less than three days in the future.
> Customer p5 account summary:
> Balance: $2000
> Total # of transactions: 0
> Incoming 0:
Non Verbose:
1,4c1,25
< At the time of execution, sender and/or recipient have not registered.
< Sender p3 does not exist.
< Recipient p3 does not exist.
< Recipient p3 does not exist.
---
> Customer p5 account summary:
> Balance: $2000

JOJ Answer

Verbose:
Non Verbose: