Skip to main content

Questions tagged [mario.more]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
48 views

mario-more does not pass check50 even though it appears like it should

There is something wrong with these checks for mario. I spent too much time googling but nothing helps. I tried different codes and nothing passes the check, but it works properly. It seems like ...
0 votes
1 answer
41 views

CS50 2023 Problem Set 1 Mario-more Check50 incorrect?

I am fairly confused with the Check50 results. I seem to have written the correct code for this problem and all testing shows its working as intended. My code is below: #include <cs50.h> #...
0 votes
1 answer
59 views

Check does not like my spacing on Mario.sentimental. Is the program unwilling to print ' ' * 0 as no spaces?

I've run this in various configurations, when I remove excess spaces, it still prints out with a space at the beginning of each line. And the center spacing seems to be larger than check50 expects, ...
0 votes
2 answers
85 views

When printing mario problem the second triangle appears below the first one

#include <stdio.h> #include <cs50.h> int main(void) { //This do while loop checks if user entered number 1-8 int x; do { x = get_int("Height: "); } while ...
0 votes
1 answer
56 views

Query related to Mario program(more) in CS50 pset1

I can't figure out the problem in my code, it successfully creates a pyramid but doesn't reprompt when value other than 1-8 is entered, also it gives a space before printing the pyramid, causing ...
0 votes
1 answer
32 views

Check50 issue pset1

This is the link that compares my output to expected output. https://submit.cs50.io/check50/cd17b70a3e377bfa9f3fabdff9d64aa91c23d9b3 Isn't it exactly the same. Still CS50 bot keeps rejecting it.
1 vote
2 answers
113 views

I don't know why check50 HATES ME?! mario.more

Here's my code for mario.more. [removed solution code] When i execute this code, it performs exactly how it should look according to Walkthrough: But when I run check50, the terminal goes like ...
2 votes
2 answers
2k views

PSET1:: Mario More Comfortable :: confused about check50 output

I am sorry if I miss something obvious here, but I am an absolute beginner. I get the following output from check50, which I am confused about: I will attach my code below, but my output for 2 is: ...
3 votes
2 answers
182 views

Which loop can be replaced for nested for loops for PSET 1 (Mario More Comfortable)?

According to the cs50 style guide for C, more than 3 variables for iteration is not a good practice. I have done Pset 1 (Mario more comfortable) with 5 for loops, so it has 5 iterations variables. Is ...
0 votes
1 answer
48 views

Trouble with the hacker edition of mario.c

I have been struggling with the hacker edition of mario.c for over 2 hours. If I give a height of 5 I only get 4 rows as shown in the attached image. /* C Program which prints mario's right aligned * ...
0 votes
1 answer
66 views

pset6 problem with mario.more.py, even my output is correct but check50 is still showing error

This is my code in python import cs50 while True: print("height: ", end="") height= cs50.get_int(); if height>=0 and height<=23: break for i in range(1,height+1): ...
0 votes
1 answer
281 views

pset6 - mario more - check50 EOF error

My pset6's mario-more Python implementation works fine. However, check50 is returns the following errors: :( handles a height of 0 correctly / did not find EOF :( handles a height of 23 ...
0 votes
1 answer
185 views

pset6 mario(more).py check50 problems even when output is correct?

Working on mario (more).py port into python. My code works and it seems to output the correct things, but check50 does not like it. Can anyone point me in the right direction of where I am incorrect?
0 votes
1 answer
35 views

Troubles with mario.c more

when I executed I have this errors: :( handles a height of 1 correctly expected "# #\n", not "# #\n" :( handles a height of 2 correctly expected " # #\n## ##\n", not " # #\n## ##\n" :( ...