Updates from the Repl.it team about the product

← Back to all posts
Weekly Challenge #3
h
TheDrone7 (1940)

Good Morning/Afternoon/Evening/Night to all beautiful replers! 2 weeks ago, we restarted weekly challenges!

For the new users who did not know about these, the total score of the 4 challenges held within that month is your score at the end of every month. The one with the highest score at the end of every month will be awarded free replit hacker plan!

To post your submission, just publish your repl onto apps and make sure to include the tag #weekly{n} and replace {n} with the number of the weekly challenge in the title. For example, for the submission to this weekly challenge, publish the repl that contains your submission on apps and include the tag weekly3.


WEEKLY 2 results

At rank 1, we have @SpicedSpices with a perfect score of 20!

At rank 2, we have @Nayoar and @AIDENSANDBAKKEN with a score of 19!

At rank 3, we have @pyelias with a score of 18.

You can check out your own score (if you weren't in the top 3), at the website - https://weekly.thedrone7.repl.co/

And that's it! Now, let's get back to this week's weekly challenge.


PIRATE GOLD!

Ok, this is a fun one.

So, there is this good old riddle about 5 pirates and 100 gold coins.

The 5 pirates (let's say - A, B, C, D, E) are each of different ages with A being the eldest and E being the youngest (A> B > C > D > E age-wise).

The oldest pirate (A) has to propose some way to distribute the gold. If 50% or more of his crew agree upon the distribution, the gold gets distributed that way. Otherwise, the oldest pirate is thrown overboard and the next oldest pirate gets to propose.

The pirates are greedy so they want to keep most of the gold to themselves when they can. But they also have brains so they will accept an offer even if it means them getting 1 more gold than what the next person will offer them.

Now the question is, how should A distribute the gold, that lets him keep the most gold without dying.

The part below is the solution to this riddle. You can choose to solve it yourself, but basically, the challenge for this week is for you to programmatically show the procedure for this solution (or any other solutions you may be able to come up with for the riddle).

For this riddle, we are going to take the reverse approach, i.e., we are going to assume E is the only one left and then keep on adding D, C, B, A to see how they would approach to give their crew a better deal than the (to be) next leader.

So let's start with the situation when there is only E (youngest) left - he gets to keep 100 gold its a win for him.

E gets 100 gold.

When there are both E and D left - here if D proposes if he even keeps 1 gold, E will throw him overboard and keep all the 100 gold, so he gives all 100 gold to E to save his life.

E gets 100 gold.

D gets 0 gold.

When there are E, D and C left, C is proposing the distribution. C gives 0 gold to E and 1 gold to D and keeps 99 gold to himself. Here D is getting 1 gold and saving his life which is more than what he would get if he were making the distribution, so he says yes. E gets 0 gold so he says no but nobody cares because the 50% vote requirement was met with D's vote.

C gets 99 gold.

D gets 1 gold.

E gets 0 gold.

Adding B to the scene, he would give E 1 gold, D 2 gold, and keeps 97 gold to himself giving C 0 gold. C votes no because he is getting 0 but nobody cares because D and E are getting 1 gold coin more than what C would be giving them so they say yes and the 50% minimum vote requirement is met.

B gets 97 gold.

C gets 0 gold.

D gets 2 gold.

E gets 1 gold.

Finally adding A to the scene - A makes the proposal that C gets 1 coin E gets 2 coins and keeps 97 coins to himself. Here, C and E are both getting better deals than what B would be offering them, so they say yes and the minimum vote requirement is met. D and B both get 0 coins.

A gets 97 gold.

B gets 0 gold.

C gets 1 gold.

D gets 0 gold.

E gets 2 gold.


And this is the right answer - [ A: 97, B: 0, C: 1, D: 0, E: 2 ]. You have to represent the solution programmatically. You can use the solution given above or come up with one of your own. You can also use other names for the pirates if you want to. Also, you cannot just spam print statements, your program should deal with the problem logically and step by step.

If you have any further questions, you can ask them via the comments section, and if you don't, I would still recommend going through the comments section as they may contain some extra information.

The criteria for scoring is subjective but there are points for creativity, uniqueness, clean code, etc.


Good luck to all the replers, have fun and hack away!

Comments
hotnewtop
Whippingdot (681)

Hey do you total the results of all the weekly challenges in a month for every weekly challenge in that month and refresh it each month? Cause for the code golf I did trash and got a 5 and I don't think I can come back from that even if I get straight A's

Edit 1: If what I think is true, then can you at least add a separate leaderboard for that weekly challenge. They don't win anything, but in the post just mention the top 3 scorers in that weekly challenge. It would be nice.

Edit 2: Hey also for this one I think I am starting to understand what we have to do. We have to give the answers like from the starting where we try it out with E and give him the gold and then go to D and give him the gold if above 50 % etc. The thing I am paranoid about now is my brain is telling me to reduce the number of lines the program has. I want to create a function but my brain is yelling at me not to. I HATE CODE-GOLF NEVER MAKE ME DO IT AGAIN. I thought I did good but a 5 HOWWWWWWWWWWWWW. Anyway back to the problem at hand - you will not reduce marks for having thousands of lines right? Like of course I will only have like max 200 lines but still I can have any amount of lines I want right? The marks are given based on how creative you were with the answer (I have no idea how to master this), how unique your code is (my code is always unique cause everyone's is better), and how clean your code is (well if you have over 100 lines for this program your program has to be clean right?). But seriously for clean code wdym. Like it can't be congested and each thing has to be on a separate line etc or keeping it like in a very small amount of lines and making the program work?

LavernieChen (10)

@Whippingdot True, I didn't even come up with a solution, I mean I am terrible with all the assigning, and whatever you add to make the coding work for weekly challenge 2 :p I guess, at least yours work, and then the crammed code is making me more confused for some reason, and then I had math camp this week and uhh everything. I think I need to research about this kind of stuff, because I never really tried creating this kind of code...

JeffreyChen13 (59)

@Whippingdot Exactly with your first point! You lose one you lose it all! You need to get through every of the tasks without flunking any, which I find hard. It basically disqualifies beginner to intermediate coders, because the challenges are too easily "way too hard."

For example for uniqueness, if you don't know any special modules to deal with or anything, you will lose the points other get to gain.

Whippingdot (681)

lol yea research on it. Just don't copy from the internet @LavernieChen

Whippingdot (681)

I would say I am an intermediate, and it definitely did rule me out from being in the top soo :(. i don't want them to get rid of the leaderboard how it is now - where they add up all the points you got in a month and give you the prize at the end. I just want them to add another leaderboard for every week and not give prizes for that. They can't give prizes every week can they. @JeffreyChen13

TheDrone7 (1940)

@JeffreyChen13 very untrue, people often skip challenges.

Also, you can score points in a lot of ways you don't necessarily need high level of coding experience. Nayoar for example makes up for everything else with their math expertise and adding a lot of mathematically interesting stuff to their programs.

Whippingdot (681)

Hey cause you are still active - can you please respond to my question of how should the program be?:

Anyway back to the problem at hand - you will not reduce marks for having thousands of lines right? Like of course I will only have like max 200 lines but still I can have any amount of lines I want right? The marks are given based on how creative you were with the answer (I have no idea how to master this), how unique your code is (my code is always unique cause everyone's is better), and how clean your code is (well if you have over 100 lines for this program your program has to be clean right?). But seriously for clean code wdym. Like it can't be congested and each thing has to be on a separate line etc or keeping it like in a very small amount of lines and making the program work?

@TheDrone7

TheDrone7 (1940)

@Whippingdot yeah that was only for the last challenge. Each challenge has a different set of rules and the only rule for this challenge is that you cannot hard code the answers and have to actually show a logical process to get the answers.

Whippingdot (681)

Scoring method? Also, @DynamicSquid made me paranoid about my amount of lines. Do you think it matters in a program how many lines you have? Does it slow down the program? @TheDrone7

TheDrone7 (1940)

@Whippingdot yep, scoring method as well. It doesn't really matter how many lines a program has until it's a really huge program. The performance I believe depends on the language and the algorithms you use. code golfing is just a fun sport people enjoy so squid probably wanted to make it a part of his challenge.

Whippingdot (681)

I am ok with it being a challenge - he taught me how to use macros and typedef in C++! Also I learned how to minimize my code when needed and I learned shortcuts in coding. @TheDrone7

FlaminHotValdez (716)

@JeffreyChen13 these challenges aren't "way too hard." And most of these aren't even on coding, more about your brain. Well except the code golf one :(

LavernieChen (10)

@Whippingdot Hmm I don't think I get either version lol, I just veiwed it breifly. I'll just finish reading it now.

JeffreyChen13 (59)

@TheDrone7 What I mean is, these challenges are too hard for most beginners and intermediates. For example, Weekly Challenge #2 was way too hard. If you look at @pyelias's submission for it, you will see it is confusing enough to just even look at it!

JeffreyChen13 (59)

@FlaminHotValdez Right, that was the one I was complaining about.

MattDESTROYER (20)

@JeffreyChen13 It's not too hard for beginners and intermediates (I'd consider myself intermediate at the most and yet I'm 5th right now :) ), it's just that because everyone's at different skill levels obviously the people with more experience can program more complex stuff and get more points. It isn't the problems you have to solve in my opinion, it's the competition (the other competitors).

JeffreyChen13 (59)

@MattDESTROYER Right, but for MOST, I would say it is. I use cold golf as an example.

@pyelias's code:

g=[e for _ in(0,1,2)for e in input().split()];print("im"*-~-(p:=len(w:=[g[l[0]]for l in[(l//81,l//9%9,l%9)for l in[33,124,215,11,284,557,44,204]]if all(g[e]==g[l[0]]!="."for e in l)]+[0])+2<5>3+(c:=g.count)("R")-c("B")>1>any([g[i+3]=="."!=g[i]for i in range(6)]))+"possible"+("\n"+{"R":"red","B":"blue",0:"tie"}[w[0]])*p)

Would you have an idea anyhow of what this code means? In other words, would you have an explanation of how this code works?

LavernieChen (10)

@MattDESTROYER I'm in 5th too, I've only just started learning code for less than a year I'd say I'm more of a beginner at coding though.

LavernieChen (10)

@FlaminHotValdez The golf one is the one I don't get lol. The other challenge is basiclly giving it a algorithm.

MattDESTROYER (20)

@JeffreyChen13 I don't really know much Python but just looking at it up to the first semicolon is just getting three lines of input and storing it in a list/array. Looks like pyelias used bitwise operators somehow. Presumably the end is just printing the colour either 0 or 1 times so they didn't have to use if statements and multiple prints.

My point was that people like pyelias have lots of experience obviously but the challenge itself was not hard was it? All you had to do was validate a connect 3 board, for the code golf part your code is compared to the length of everyone elses and it's harder to get a good score but again you can still easily do the connect 3 validating part easily.

MattDESTROYER (20)

@LavernieChen Uhh... I'm not quite sure what you meant by 5th but I mean 5th overall in the competition... If you meant grade I'm in year 9.

JeffreyChen13 (59)

@MattDESTROYER Right, but for the beginners and intermediators it was hard for them.

LavernieChen (10)

@MattDESTROYER Yeah I'm in 5th grade, just started coding :p. Nice! You are in 5th place!

MattDESTROYER (20)

@JeffreyChen13 For the second challenge all you had to do was check if arrays contained the same element, in Python you could do something as simple as this (despite not really knowing Python I could make that pretty quickly):

grid = [input().split(" "), input().split(" "), input().split(" ")]
winner = ""

def same(row, letter):
	return row[0] + row[1] + row[2] == 3 * letter

def column(index, letter):
	return grid[0][index] + grid[1][index] + grid[2][index] == 3 * letter

def topleftDiagonal(letter):
	return grid[0][0] + grid[1][1] + grid[2][2] == 3 * letter

def toprightDiagonal(letter):
	return grid[0][2] + grid[1][1] + grid[2][0] == 3 * letter

if (same(grid[0], "R") or same(grid[1], "R") or same(grid[2], "R") or column(0, "R") or column(1, "R") or column(2, "R") or topleftDiagonal("R") or toprightDiagonal("R")):
	winner += "red"
if (same(grid[0], "B") or same(grid[1], "B") or same(grid[2], "B") or column(0, "B") or column(1, "B") or column(2, "B") or topleftDiagonal("B") or toprightDiagonal("B")):
	winner += "blue"
if (winner == "redblue"):
	print("tie")
else:
	print(winner)
JeffreyChen13 (59)

@MattDESTROYER That is a valid way, of course I know it.

MattDESTROYER (20)

@JeffreyChen13 That's my point, the challenge isn't hard, the competition is.

JeffreyChen13 (59)

@MattDESTROYER Exactly. But the challenge IS hard for some people. It doesn't matter of the number of people that have joined this competition, because here is the hard part:

If you fail one, you will fail it all

MattDESTROYER (20)

@JeffreyChen13 I mean a Replit hacker plan isn't really the reason I'm in the competition (tbh what does the hacker plan even do? Give you the option to boost your programs? Is that it?), I dunno about you, I don't really care about the reward, what I care about is having some fun with programatic problem solving and getting feedback on how I can improve my skills. I do see your point, maybe there should be like categories for people of different levels so they can all have a chance at the reward, but otherwise, I don't really care about failing.

JeffreyChen13 (59)

@MattDESTROYER Right, I rather have the honor and learn than a Hacker Plan.

Whippingdot (681)

Very heated comment thread. I agree with you @MattDESTROYER cause the challenges aren't really hard...just you have to go to school to understand them ;) lol and I think most of us go to school. As long as you understand the challenge which i never do you just have to use your coding skills to solve it. You can even make that code gold program with 1000 characters and no-one cares - at least you reduced it from like 2000

MattDESTROYER (20)

@Whippingdot Yep exactly :) (wasn't intended to be heated lol)

IMayBeMe (552)

@MattDESTROYER agreed, I really couldn’t care less about the hacker plan. It’s just fun to have a good challenge every week without spending hours on google looking at websites which all say the same thing

Th3Coder (136)

@TheDrone7 Maybe you can let the monthly winner choose the next challenge instead

MattDESTROYER (20)

@Th3Coder That could be a cool idea! Of course DynamicSquid or TheDrone7 should like 'validate' the challenge to make sure it's not too easy or too hard. The other thing is if they did do that the person who made the challenge would probably have an advantage so it would probably be hard to organise something like that.

Th3Coder (136)

@MattDESTROYER thanks! Maybe the previous winner (that gives the challenge) can't participate in their own challenge so somebody else wins this time AND it'd be more fair!

MattDESTROYER (20)

@Th3Coder That's what I thought when I thought of that problem, but honestly if I was the winner, I'd want to be able to participate so I dunno if people will like that prospect but it's a very good point about letting other people win so the same people aren't going to win every time.

ReplThatDuck (3)

@Whippingdot So true! I just came across the weekly challenges, and so if I joined this month I would totally not get on the leaderboard. I think your idea of a scoreboard for just that week is a great idea, and I hope that @TheDrone7 will incorporate this into his scoring!

LavernieChen (10)

@ReplThatDuck Maybe a quick challenge a few days?

[deleted]

This is probably from TedED btw

LavernieChen (10)

@JeffreyChen13 Don't feel disappointed, I missed the second challenge, I want to do this for fun! Not the replit hacker plan. I just want to see how this works... And probably see how I am at coding?

JeffreyChen13 (59)

@LavernieChen Of course I'm not disappointed, I just knew I couldn't win. Bruh, I don't care about if I win or not, it is the honor and learning and having fun that I care about.

IMayBeMe (552)

Sorry for bombarding you with questions, but would it be ok if the solution is somewhat hardcoded (not literally hardcoded, but rather a few if statements) up until C is the oldest due to the last result being irregular. After that, the program would be dynamic for an infinite amount of pirates. Would I lose any points for that?

TheDrone7 (1940)

@IMayBeMe hard-coding is completely disallowed. No exceptions.

MattDESTROYER (20)

@TheDrone7 Does this count as 'hard-coding'? Logically speaking this is, in essence, the thinking process of a human; if there is only one pirate you don't need to do anything really, if there are two, (assuming the distributing pirate cannot vote) then the distributing pirate has to give all the money to the other to survive:

// if only one pirate, the proposer gets it all
if (pirates.length === 1) {
	pirates[0].vote = "is the only pirate and so gets all the gold.";
	return pirates;
}
// if only two pirates, the other gets it all
// because the proposer wants to live
if (pirates.length === 2) {
	// set proposers gold to 0
	pirates[1].gold = 0;
	// give gold to other pirate
	pirates[0].gold = gold;
	// set voting reason
	pirates[0].vote = "accepts because they are getting all the gold.";
	return pirates;
}
IMayBeMe (552)

@MattDESTROYER yeah that’s what I was thinking

FlaminHotValdez (716)

@TheDrone7 so we cannot even hardcode "if there is only one pirate left he gets all the gold?" That's the only part in my code that's hardcoded, and the thought process of a human works that way too.

FlaminHotValdez (716)

What do you mean "represent the solution programmatically?" Can we do it tutorial style or smth?

TheDrone7 (1940)

@FlaminHotValdez it means that your program should logically come up with those numbers and they can't be hard coded in it.

Whippingdot (681)

hmmm i still kinda don't understand...

like should we subtract 2 from 100 and give it to E and subtract 1 from 98 and give it to C and then give the rest to a variable called A? If so, should we do that for every person? Like starting from E to A? @TheDrone7

TheDrone7 (1940)

@Whippingdot your program needs to come up with those numbers like a human would you can't hard code them.

Whippingdot (681)

ok I understand...kinda. So i have to do the process you did in the post but with code. Like I have to first try out with E and see how many coins he will get. And then I can try a coin amount with D and see how many coins he will get, see how many coins E will get, check if more than 50 % has said yes...then do the same with C, etc. @TheDrone7

Very confusing challenge this time...

TheDrone7 (1940)

@Whippingdot is it really a challenge if it's not challenging?

Aivoybia (26)

@TheDrone7 confusing and challenging are different

TheDrone7 (1940)

@Aivoybia it shouldn't be confusing at all considering its a very popular riddle and you can just look it up. Now it can be challenging cuz the part where you have to write a program that performs the logical actions of a human to solve a riddle is confusing.

Whippingdot (681)

no it is confusing because i don't know what to do. I have to just write a program that dose what you did right. The thing is like should I write it in a for loop meaning should it be a hard program or should i just create variables and add an subtract and print the answer? I think I am going to do it in between...I am very confused. @TheDrone7

TheDrone7 (1940)

@Whippingdot I've said it 3 times already, it has to depict the human thought process to come up with the answer, no hard-coding allowed. The most obvious way is to use loops but there are other ways that I will be looking forward to.

Whippingdot (681)

Ok, thank you! Hey, can I try the program and send you it and you can tell me if I understood you properly? I will redo it if I did it wrong. @TheDrone7

TheDrone7 (1940)

@Whippingdot sure thing, we can do that. I'm positive you'll get it right tho.

Whippingdot (681)

Lol i am happy you believe in me

Whenever I see your pfp i think green and CC. I then get scared and try to be cautious around you cause you are also a mod. But then when you act kind and positive i remember you are different...I just have some bad memories with CC that is all :((most of those memories were caused by me pinging CC for every problem I found in my reporting phase of replit) @TheDrone7

IMayBeMe (552)

Does the pirate making the proposal get a vote?

TheDrone7 (1940)

@IMayBeMe it's fine either way. I'm well versed with both versions of the problem.

Whippingdot (681)

Hey @TheDrone7 please see this when do I have to submit this by? What time? I am still working on it (this challenge is hard) so please tell me by when. I might need some time.

TheDrone7 (1940)

@Whippingdot from the time of this comment, 2 hours and 30 minutes.

Whippingdot (681)

OH MY GOD that gives me so much time THANKS!

But still gonna be hard cause i have to play with my cousins... :( i hope i finish @TheDrone7

AksLolCoding (0)

Is it okay if i make 2 submissions?

AksLolCoding (0)

Anyone beat 30 lines? I can't make it shorter but still easy-to-read.

AksLolCoding (0)

Sad that I missed the second challenge. I can't win the month. My code is not the shortest though, maybe a 20/20 is possible.

LavernieChen (10)

@TheDrone7 , do we take your pirate story as an example? or do we actually use pirates [a,b,c,d,e], and 100 gold? Or do we ask for the input?

EdwardBentler (40)

No offense, but I think you got the E & D situation (and all the following situations) wrong, you said:

If 50% or more of his crew agree upon the distribution, the gold gets distributed that way.

Therefore, D would prepose that he keep all the gold, he votes yes, and E votes no, but D still keeps the gold. (1/2 Vote yes)
With C, D, & E, C gives 0 to D, and 1 to E. (2/3 Vote yes)
With B, C, D, & E, B gives 1 to D, and 0 to C & E. (2/4 Vote yes)
And with all the pirates, A gives 1 to C, and 1 to E, and keeps the rest for himself. (3/5 Vote yes)
Proof

TheDrone7 (1940)

@EdwardBentler there are 2 variations of the problem. Your variation allows the pirate making the proposal to vote while the variation I used in the post doesn't allow the pirate making the proposal to vote.

TheDrone7 (1940)

@EdwardBentler now depending on your source, you may be using different variations, so I'm allowing solutions to either or both variations of the problem.

EdwardBentler (40)

@TheDrone7 OHHHHHH, Alright then, I'll use your variation for the challenge.

LavernieChen (10)

I just really don't get it... Sorry

MattDESTROYER (20)

@LavernieChen Basically you need to find an 'algorithm' to do the steps in the task above. In my project I have a README.md file with how I solved this problem in JavaScript, this part might help:

Imagine each pirate is a product that you are buying from the supermarket. Each product's cost is one more than it was yesterday (if the product is brand new, its cost is 1). You want to buy half (round up if odd) of all products in this supermarket. Now obviously you want to spend the least amount of money possible and and to do so you must buy only the cheapest products (pretend you don't care what you're buying, you just want to buy stuff...).

Maybe you can see where this is going? Essentially programmatically speaking we want to go through each available item to find the cheapest one, then 'buy' it. Following this algorithm, you can find a solution to this problem.

LavernieChen (10)

@TheDrone7 Sry about all the notifications, Does only the oldest pirate get thrown overboard or why would your example,

C gets 99 gold.

D gets 1 gold.

E gets 0 gold.

Why would D lose his life if he disagrees? He is not the oldest.

TheDrone7 (1940)

@LavernieChen yes, only the oldest pirate get thrown overboard. D doesn't disagree there because if he disagrees and C gets overthrown, the next turn will be his to make the distribution and as you can see, he will have to give all 100 gold to E or E will overthrow D.

LavernieChen (10)

@TheDrone7 Ohh I get it now! Thanks!

LavernieChen (10)

Hmm, doesn't that mean the younger to youngest pirates would almost always disagree to the gold distrabution so that it can be one of the final pirates, which means the amount of gold each pirate gets increases? Because its the pirate that propose the plan that gets thrown overboard, not the youngest. @TheDrone7

TheDrone7 (1940)

@LavernieChen it's because they all want the best deal with the minimum killing, so they think of it this way,
"If I kill this guy, will the next person give me a better deal or not", if the next person won't be giving them a better deal, they will just agree to it.

LavernieChen (10)

I guess can anyone explain this problem a little more to me? I'm confused...

LavernieChen (10)

@TheDrone7 Uhh many people say its a riddle, but uhh how?

LavernieChen (10)

@TheDrone7 So we basicly make up what the other pirates (human thinking) would want as their part of the share? The problem is confusing me.

TheDrone7 (1940)

@LavernieChen basically, it's a riddle you can google it it's a rather popular one. I have shared its solution. Now I didn't just come up with these numbers, I used my brains to think that the pirate responsible for distribution would want the most but the others want a better deal than what the next person would give them. Using these facts, I came up with the optimal solution in which the pirate making the distribution can keep the most gold and his life.

Now you have to depict my thought process as a program.

LavernieChen (10)

@TheDrone7 Ok Thanks for your thinking! Do we calculate umm i guess we use a range, in the code, or just think it through? I will reply tomorrow if i have any questions, I'm off to sleep!

IMayBeMe (552)

I apologize for asking so many questions, but theoretically, can't D take all the gold cause he would represent 50% of the vote which would keep his survival.

IMayBeMe (552)

@IMayBeMe Adding onto that would this be a valid solution,
E = 100
D = 100, E = 0
C = 99, D = 0, E = 1
B = 99, C = 0, D = 1, E = 0
A = 98, B = 0, C = 1, D = 0, E = 1

[deleted]

@IMayBeMe thats true

TheDrone7 (1940)

@IMayBeMe In your variation where the pirate making the proposal can also vote, yes.
For the example, I chose to go with the variation where the pirate making the proposal cannot vote for himself. Your solution is correct for this variation.

InvisibleOne (3226)

I didn't do very good on the last one, hopefully I'll do better this time

Whippingdot (681)

same - how much did you get? I got 5... and had 875 characters in C++... THAT REDUCED MY SCORE DOWN TO 12 :(( @InvisibleOne

InvisibleOne (3226)

Yeah, I got 5 as well. I did mine in python though. Funny thing is, now I've figured out a way to get way shorter (mine was 530 something I think). @Whippingdot

Whippingdot (681)

wut 530 characters gives you 5...? Well it is python but unlucky I guess

How much did you get for Week 1... I will check the website but reply anyway. @InvisibleOne

IMayBeMe (552)

@Whippingdot I screwed up and one of the test cases didn’t work so I got a 7, I probably can’t come back from that but atleast they are fun

Whippingdot (681)

true I haven't coded any program lately and I have just been learning - this gives me something to code actually instead of just learning. @IMayBeMe

InvisibleOne (3226)

9 I think, pretty good but I won't be good enough to get into the top 5 @Whippingdot