Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » AMC #1 - closed
- 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.
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
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
An example:I hope those where the other way around or the percentage compressed would be in the negatives
to compress:
number + 10
to decompress:
number - 10

Last edited by lugga (Oct. 24, 2016 20:15:09)
- dzaima
-
Scratcher
100+ posts
AMC #1 - closed
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.An example:I hope those where the other way around or the percentage compressed would be in the negatives
to compress:
number + 10
to decompress:
number - 10
- 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.
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
4.54x compression: https://scratch.mit.edu/projects/127291737I thought someone would do this…
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.
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
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 :p4.54x compression: https://scratch.mit.edu/projects/127291737I thought someone would do this…
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.
Here is a new rule:
No storing data for later use
- IcyCoder
-
Scratcher
1000+ posts
AMC #1 - closed
sorry I made this when I was tired and bored making them now.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 :p4.54x compression: https://scratch.mit.edu/projects/127291737I thought someone would do this…
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.
Here is a new rule:
No storing data for later use
- Saiid
-
Scratcher
1000+ posts
AMC #1 - closed
please explain4.54x compression: https://scratch.mit.edu/projects/127291737I thought someone would do this…
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.
Here is a new rule:
No storing data for later use
- IcyCoder
-
Scratcher
1000+ posts
AMC #1 - closed
Look at @dzaima2 entry to see what I meanplease explain4.54x compression: https://scratch.mit.edu/projects/127291737I thought someone would do this…
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.
Here is a new rule:
No storing data for later use
- Saiid
-
Scratcher
1000+ posts
AMC #1 - closed
I did. please explain what you mean. We can't use the data blocks?Look at @dzaima2 entry to see what I meanplease explain4.54x compression: https://scratch.mit.edu/projects/127291737I thought someone would do this…
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.
Here is a new rule:
No storing data for later use
Saiid
- dzaima
-
Scratcher
100+ posts
AMC #1 - closed
you can, what you can't do is use them in another compression/decompression block.I did. please explain what you mean. We can't use the data blocks?Look at @dzaima2 entry to see what I meanplease explain4.54x compression: https://scratch.mit.edu/projects/127291737I thought someone would do this…
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.
Here is a new rule:
No storing data for later use
Saiid
Last edited by dzaima (Oct. 24, 2016 21:28:35)
- IcyCoder
-
Scratcher
1000+ posts
AMC #1 - closed
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 ruleI did. please explain what you mean. We can't use the data blocks?Look at @dzaima2 entry to see what I meanplease explain4.54x compression: https://scratch.mit.edu/projects/127291737I thought someone would do this…
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.
Here is a new rule:
No storing data for later use
Saiid
- gtoal
-
Scratcher
1000+ posts
AMC #1 - closed
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
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 bestAre 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?
- 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
OK, so by smaller do you mean in value or length? I have an ideaLength
- Discussion Forums
- » Advanced Topics
-
» AMC #1 - closed