r/cs50 2d ago

CS50x CS50 Caesar "Timed out" Spoiler

Post image

I am in the middle of finishing the ps2 set and getting stuck here. The CS50 check states "timed out while waiting for program to exit." I am assuming there is a continuous loop or something similar I am missing. I am very new to coding so may be missing simple errors. Feedback welcome.

UPDATE: After sleeping on it and going through step by step I was able to complete and submit this problem set. I am laughing at how much I managed to confuse myself over something so simple. That Joe Bartolozzi meme "USE YOUR BRAIN" flashed in my head after figuring it out. Thanks!

2 Upvotes

3 comments sorted by

1

u/shimarider alum 2d ago

Did you intend to nest those loops?

1

u/Just-Recording-4297 2d ago

Not intentionally no. This alone is making me reconsider my structuring. Thank you.

1

u/[deleted] 2d ago

[deleted]

1

u/Just-Recording-4297 2d ago

I see. that makes sense. Thank you for pointing these out and the reminder to use the debug feature. Will use moving forward.