~/workspace/ $ submit50 cs50/2018/x/marioless Connecting.... Invalid slug. Did you mean to submit something else? ~/workspace/ $ submit50 cs50/2018/x/marioless Connecting..... Invalid slug. Did you mean to submit something else? ~/workspace/ $
You need to follow the instructions exactly. The spec says:
Write, in a file called
~/workspace/pset1/mario/less/, a program that recreates this half-pyramid using hashes (
#) for blocks.
So this means that you need to create some folders, which is explained in the very first Hello problem. (use
mkdir to create a folder and
cd to change into that folder).
Then, be sure to save your code as
mario.c in that folder.
Once you've done all that, then run
check50 as shown in a terminal in that folder:
An invalid slug error means that the parameter following check50 or submit50 is incorrect. Go back to the problem spec and see what it's supposed to look like. I'll guess a missing slash or something.
If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)