/ Test /

Record Case Detail

Notes

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

Stderr

xargs: ./c2: exited with status 255; aborting

Hints

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

However, the main problem you meet now is Runtime Error. And the exit code of your program is 255, which should be 0.

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

Your Answer

generate a test_key

success

test simple encryption and decryption
thisismyplaintext
success

test encryption and decryption for long string
thisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintext
success

test encryption and decryption for very long string
thisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintext
success

test encryption and decryption for very long string from default key
thisismyplaintextfordefaultkey
success

test encryption and decryption for whole alphabet
ThisTestsAlphabetABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789,.;?!()
success

JOJ Answer

generate a test_key

success

test simple encryption and decryption
thisismyplaintext
success

test encryption and decryption for long string
thisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintext
success

test encryption and decryption for very long string
thisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintextthisismyplaintext
success

test encryption and decryption for very long string from default key
thisismyplaintextfordefaultkey
success

test encryption and decryption for whole alphabet
ThisTestsAlphabetABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789,.;?!()
success