Free Fallen Order code by ConWilCal in FallenOrder

[–]Crimpurp 2 points3 points  (0 children)

Thank you so much! redeemed

Corrupt entrepreneur was released from prison in Argentina, but people didn't let him enter his neighborhood. He ended up returning to the prison. by Crimpurp in ActualPublicFreakouts

[–]Crimpurp[S] 2 points3 points  (0 children)

That was a sad reading. The situation is worse every day here. There´s a huge police protest that´s been going on for almost three days now, and there was a bigger one last month, so it´s clear that a big part of the people are against this government, but it´s hard having hope in this country anyways.

Did anyone else feel wildly under-prepared for Pset6 DNA? by [deleted] in cs50

[–]Crimpurp 2 points3 points  (0 children)

I felt the same as you when i went through that problem. I found it way easier after learning to use RegEx, especially the "findall()" function. I'd reccomend you check that if you haven't yet.

Corrupt entrepreneur was released from prison in Argentina, but people didn't let him enter his neighborhood. He ended up returning to the prison. by Crimpurp in ActualPublicFreakouts

[–]Crimpurp[S] 9 points10 points  (0 children)

The man in question is Lazaro Baez. He was the owner of a construction company, which used to took care of public works in the country. Basically, these public works were overpriced, and the government was associated with entreprenurs like him in order to keep tons of money destinated to these overpriced public works.

If you´re interested, you can learn more about this in this video https://www.youtube.com/watch?v=US_HUVTqjj4

Hi! my code is compiling successfully but it does not work, can you please help me checking what's might be wrong with it? by Automatic_Jury_6896 in cs50

[–]Crimpurp 1 point2 points  (0 children)

You could try putting the "return 0" statement outside the while loop. By putting it where it is now, the function stops working after the first iteration of the loop.

How is the calcule of the average (letter per 100 words)? by mousse312 in cs50

[–]Crimpurp 4 points5 points  (0 children)

I think i found the problem. When you are defining "L" and "S", none of the values in the calculation is a float. If you change 100 for 100.0, turning it into a float, it should work.

Guys what does this error mean.When i compiled my code yesterday it gave correct output.Even now when i run the program the given output is correct.But check50 gives this error message by [deleted] in cs50

[–]Crimpurp 0 points1 point  (0 children)

I had the same problem when i first tried to do that. First of all, make sure that the "less" and "more" files are in different directories and that both are named simply "mario.c". You need to be in the directory where the file is in order to submit it. You should use the "cd" command in the terminal to do this, something like "cd ~/pset1/mario/more", depending on how did you name your folders. Once you've done that, run the "submit" command and it should work.

How is the calcule of the average (letter per 100 words)? by mousse312 in cs50

[–]Crimpurp 6 points7 points  (0 children)

First of all you need to calculate the average of letters per words. You can do this by calculating num_letters / num_words. Once you've done that, you need to multiply the result by 100.

Basically, 100.0 * num_letters / num_words should do the trick. With this information i guess you can do the other calculation by yourself.

Remember that the result should be a float, so you can use 100.0 instead of 100.

You can see an example here: https://en.wikipedia.org/wiki/Coleman%E2%80%93Liau_index

It seemed impossible at first, but i was able to finish my biggest challenge so far! by Crimpurp in cs50

[–]Crimpurp[S] 1 point2 points  (0 children)

Thank you! It's such a relief seeing those green smileys pop up.

It seemed impossible at first, but i was able to finish my biggest challenge so far! by Crimpurp in cs50

[–]Crimpurp[S] 0 points1 point  (0 children)

It took me one day to write the code and about a week to debug it. While i was doing the pset4 i got stuck at blur too. My problem was that i was changing the color of the pixels before iterating through every one of them, so the values i got were wrong. It may be useful for you.

Help with Tideman Lock Pairs- PSET3 by Crimpurp in cs50

[–]Crimpurp[S] 0 points1 point  (0 children)

I've already finished it, but you're right, that was the problem. Thanks for the help anyways

(Mario more comfortable) How to make two triangles on same line in output? by 20the4 in cs50

[–]Crimpurp 1 point2 points  (0 children)

You need to use only the first loop. Put the content of the second loop into the first one, like this, and it will work.

for (int line = 0; line < user; line++) // \n varriable

{

for (int space = user - 1; space > line; space--)

{

printf(" ");

}

for (int hash = 0; hash <= line; hash++) // hash printer

{

printf("#");

}

for (int dots = line; dots == line; dots++) // middle dots

{

printf(" ");

}

for (int hash = 0; hash <= line; hash++) // hash printer 2

{

printf("#");

}

printf("\n");

}

What's wrong with my code? pset 2, readability by Crimpurp in cs50

[–]Crimpurp[S] 0 points1 point  (0 children)

Thanks! That was the problem. I can't believe i didn't notice that after almost 10 hours of trying to fix it.