check50
cs50/problems/2024/x/substitution
:) substitution.c exists
Log
checking that substitution.c exists...
:) substitution.c compiles
Log
running clang substitution.c -o substitution -std=c11 -ggdb -lm -lcs50...
:( encrypts "A" as "Z" using ZYXWVUTSRQPONMLKJIHGFEDCBA as key
Cause
expected "ciphertext: Z\...", not "ciphertext: \x..."
Log
running ./substitution ZYXWVUTSRQPONMLKJIHGFEDCBA...
sending input A...
checking for output "ciphertext: Z\n"...
Expected Output:
ciphertext: Z
Actual Output:
ciphertext: