Discuss Scratch

IcyCoder
Scratcher
1000+ posts

AMC #1 - closed

Congrats @-io- for winning!
Guys #2 is out!

Are you guys ready for the first Advanced Math Challenge!

This works just like ATC but all challenges are related to math.

The first challenge:

Make a program using the template provided that can “compress” any number between -100000 to 100000 into a smaller number and back again with 100% precision.

An example:

to compress:
number - 10

to decompress:
number + 10

How to use the template and how it works:

The template is how the final submissions will be tested it will get points based off of the.length of all of the numbers and if it compressed it perfectly. The lower the score the better.

Use the custom blocks compress and decompress to put in your compression and decompression codes and put the output in the variable return.

Please ask questions and we will start when we get 5 finished submissions by different people (you can submit multiple entries) or in 1 week starting today.
SUBMITIONS MUST USE THE TEMPLATE!

Official Studio: https://scratch.mit.edu/studios/3510813/

Good Luck Guys!

Rules:
No storing data for later use
Must use the template
No control blocks
All extra data blocks used must be reset every time you compress/decompress
The uncompressed output must be exact to the original number
All valid entries must be put in the studio.
It must work with positive and negative numbers.
You may not edit the testing and scoring parts of the template.
Some rules if it is broken you the testing template is designed to add points to your submission.

Last edited by IcyCoder (Oct. 31, 2016 18:55:01)

MegaApuTurkUltra
Scratcher
1000+ posts

AMC #1 - closed

IcyCoder wrote:

Make a program using the template provided that uses NO control blocks and can “compress” any number between -100000 to 100000.0 into a smaller number and back again with 100% precision.
Um…what?
lugga
Scratcher
500+ posts

AMC #1 - closed

IcyCoder wrote:

An example:

to compress:
number + 10

to decompress:
number - 10
I hope those where the other way around or the percentage compressed would be in the negatives

Last edited by lugga (Oct. 24, 2016 20:15:09)

dzaima
Scratcher
100+ posts

AMC #1 - closed

lugga wrote:

IcyCoder wrote:

An example:

to compress:
number + 10

to decompress:
number - 10
I hope those where the other way around or the percentage compressed would be in the negatives
well the numbers to compress can go in the negatives so it's random if it'll go negative not positive or won't change.
dzaima2
Scratcher
3 posts

AMC #1 - closed

4.54x compression: https://scratch.mit.edu/projects/127291737
score: 14447
tbh I don't know if this was what you expected or not, but as I don't see it breaking any rules, it's my current submission.
IcyCoder
Scratcher
1000+ posts

AMC #1 - closed

Sorry if the format is a little confusion if someone can fix my format that would be amayzing!
IcyCoder
Scratcher
1000+ posts

AMC #1 - closed

dzaima2 wrote:

4.54x compression: https://scratch.mit.edu/projects/127291737
score: 14447
tbh I don't know if this was what you expected or not, but as I don't see it breaking any rules, it's my current submission.
I thought someone would do this…

Here is a new rule:
No storing data for later use
IcyCoder
Scratcher
1000+ posts

AMC #1 - closed

Also the example is not a good example but it explains what entries should look like
dzaima
Scratcher
100+ posts

AMC #1 - closed

IcyCoder wrote:

dzaima2 wrote:

4.54x compression: https://scratch.mit.edu/projects/127291737
score: 14447
tbh I don't know if this was what you expected or not, but as I don't see it breaking any rules, it's my current submission.
I thought someone would do this…

Here is a new rule:
No storing data for later use
write down all the rules before publishing something where people like me would go to the edges of everything to be as efficient as possible. And I already have 2 ideas for breaking rules you may add :p
IcyCoder
Scratcher
1000+ posts

AMC #1 - closed

dzaima wrote:

IcyCoder wrote:

dzaima2 wrote:

4.54x compression: https://scratch.mit.edu/projects/127291737
score: 14447
tbh I don't know if this was what you expected or not, but as I don't see it breaking any rules, it's my current submission.
I thought someone would do this…

Here is a new rule:
No storing data for later use
write down all the rules before publishing something where people like me would go to the edges of everything to be as efficient as possible. And I already have 2 ideas for breaking rules you may add :p
sorry I made this when I was tired and bored making them now.
IcyCoder
Scratcher
1000+ posts

AMC #1 - closed

Added rules!
Saiid
Scratcher
1000+ posts

AMC #1 - closed

IcyCoder wrote:

dzaima2 wrote:

4.54x compression: https://scratch.mit.edu/projects/127291737
score: 14447
tbh I don't know if this was what you expected or not, but as I don't see it breaking any rules, it's my current submission.
I thought someone would do this…

Here is a new rule:
No storing data for later use
please explain
IcyCoder
Scratcher
1000+ posts

AMC #1 - closed

Saiid wrote:

IcyCoder wrote:

dzaima2 wrote:

4.54x compression: https://scratch.mit.edu/projects/127291737
score: 14447
tbh I don't know if this was what you expected or not, but as I don't see it breaking any rules, it's my current submission.
I thought someone would do this…

Here is a new rule:
No storing data for later use
please explain
Look at @dzaima2 entry to see what I mean
Saiid
Scratcher
1000+ posts

AMC #1 - closed

IcyCoder wrote:

Saiid wrote:

IcyCoder wrote:

dzaima2 wrote:

4.54x compression: https://scratch.mit.edu/projects/127291737
score: 14447
tbh I don't know if this was what you expected or not, but as I don't see it breaking any rules, it's my current submission.
I thought someone would do this…

Here is a new rule:
No storing data for later use
please explain
Look at @dzaima2 entry to see what I mean
I did. please explain what you mean. We can't use the data blocks?

Saiid
dzaima
Scratcher
100+ posts

AMC #1 - closed

Saiid wrote:

IcyCoder wrote:

Saiid wrote:

IcyCoder wrote:

dzaima2 wrote:

4.54x compression: https://scratch.mit.edu/projects/127291737
score: 14447
tbh I don't know if this was what you expected or not, but as I don't see it breaking any rules, it's my current submission.
I thought someone would do this…

Here is a new rule:
No storing data for later use
please explain
Look at @dzaima2 entry to see what I mean
I did. please explain what you mean. We can't use the data blocks?

Saiid
you can, what you can't do is use them in another compression/decompression block.

Last edited by dzaima (Oct. 24, 2016 21:28:35)

IcyCoder
Scratcher
1000+ posts

AMC #1 - closed

Saiid wrote:

IcyCoder wrote:

Saiid wrote:

IcyCoder wrote:

dzaima2 wrote:

4.54x compression: https://scratch.mit.edu/projects/127291737
score: 14447
tbh I don't know if this was what you expected or not, but as I don't see it breaking any rules, it's my current submission.
I thought someone would do this…

Here is a new rule:
No storing data for later use
please explain
Look at @dzaima2 entry to see what I mean
I did. please explain what you mean. We can't use the data blocks?

Saiid
You can use data blocks but if you read the rules up on the first page you must clear all of the variables that submission put everything in a list and referenced it again clever but that is wat broke that rule
gtoal
Scratcher
1000+ posts

AMC #1 - closed

IcyCoder wrote:

Are you guys ready for the first Advanced Math Challenge!

This works just like ATC but all challenges are related to math.

The first challenge:

Make a program using the template provided that uses NO control blocks and can “compress” any number between -100000 to 100000.0 into a smaller number and back again with 100% precision.

You do understand this is impossible, right?
IcyCoder
Scratcher
1000+ posts

AMC #1 - closed

gtoal wrote:

IcyCoder wrote:

Are you guys ready for the first Advanced Math Challenge!

This works just like ATC but all challenges are related to math.

The first challenge:

Make a program using the template provided that uses NO control blocks and can “compress” any number between -100000 to 100000.0 into a smaller number and back again with 100% precision.

You do understand this is impossible, right?
It is possible some numbers your math may get wrong which will count against your score but it is possible it is just seeing who can do it best
jokebookservice1
Scratcher
1000+ posts

AMC #1 - closed

OK, so by smaller do you mean in value or length? I have an idea
IcyCoder
Scratcher
1000+ posts

AMC #1 - closed

jokebookservice1 wrote:

OK, so by smaller do you mean in value or length? I have an idea
Length

Powered by DjangoBB