Welcome to the first programming contest of 2013! This first contest will be simple. As these contests progress the difficulty will increase.
Read me for contest info!
When you are finished with your solution send it to me via private message. Your submission must include your source with a short description describing your approach.
Prizes
The prize will be a $10 gift card from one of the following places. Or $10 cast sent via Paypal. If you would like to request a gift card send me a private message and I'll look into it.
- Amazon
- Google Play
Results 1 to 40 of 41
Thread: Programming contest #1 - Arrays
- 23 Jan. 2013 03:41am #1
Programming contest #1 - Arrays
Last edited by Elliot; 23 Jan. 2013 at 03:55am.
// Signature
- 23 Jan. 2013 03:52am #2
- Join Date
- Apr. 2010
- Location
- When freedom is outlawed only outlaws will be free
- Posts
- 5,113
- Reputation
- 195
- LCash
- 0.00
Hey, I think it should be "The prize will be a $10 gift card from one of the following places" otherwise it sounds like they're getting both gift cards haha.
Anyway, working on my solution as we speak, and I'll be PMing it to you as soon as possible!
- 23 Jan. 2013 03:55am #3
- 23 Jan. 2013 05:40am #4
This sort of lacks detail. What do you mean by accept hourly temperatures? Do you want us to input actual temperatures on an hour-to-hour basis or what?
But basically you're wanting an algorithm that collects input, throw it in an array, average it out, create output from that. Seems simple enough, but more specifics would be nice.Last edited by The Unintelligible; 23 Jan. 2013 at 05:50am.
- 23 Jan. 2013 05:59am #5
- 23 Jan. 2013 06:11am #6
What in God's name is meant by feedback?
- 23 Jan. 2013 06:12am #7
- 23 Jan. 2013 02:36pm #8
- Join Date
- Apr. 2010
- Location
- When freedom is outlawed only outlaws will be free
- Posts
- 5,113
- Reputation
- 195
- LCash
- 0.00
- 23 Jan. 2013 05:52pm #9
- 23 Jan. 2013 08:00pm #10
It's supposed to be vague. As long as your have the few requirements that are bullet pointed you have a valid entry. This contest is to test your ability as a programmer. Although, this first one is really simple.
@flair you factor in the rating the user imputed for each hourly temperature. This can be done a number of ways.
Take highest rated temperature (easy way, but still works).
Average the top x rated temperatures// Signature
- 24 Jan. 2013 03:02am #11
In the sample output temperature is spelled wrong.
I don't get tired.
- 24 Jan. 2013 03:42am #12
- 24 Jan. 2013 03:57am #13
- 24 Jan. 2013 04:45am #14
When you say notation do you mean descriptive comments or an identifier naming convention?
I don't get tired.
- 24 Jan. 2013 04:47am #15
- 24 Jan. 2013 05:06am #16
- 24 Jan. 2013 05:26pm #17
Also, quick amendment. No Brainfuck submissions will be accepted.
So far the only submission is Isonyx in C++.// Signature
- 24 Jan. 2013 05:32pm #18
i bet Isonyx's code looks like doo doo.
- 24 Jan. 2013 05:38pm #19
- 24 Jan. 2013 05:42pm #20
- 24 Jan. 2013 07:47pm #21
When does the contest end?
Ya Bish
__________Contributions-
[How to make a FMP] • [FLP Guide] • [Gaia Gold FLP] • [Exchanging Guide]
[My Store] • [My Forum]
- 24 Jan. 2013 08:02pm #22
- 24 Jan. 2013 09:12pm #23
- 25 Jan. 2013 07:11am #24
I just read Isonyx's code and I must say, it sux eggs.
- 25 Jan. 2013 03:03pm #25
- Join Date
- Apr. 2010
- Location
- When freedom is outlawed only outlaws will be free
- Posts
- 5,113
- Reputation
- 195
- LCash
- 0.00
BASIC programmers don't die, they just GOSUB and don't RETURN.
- 25 Jan. 2013 10:39pm #26Originally Posted by Isonyx
- 27 Jan. 2013 06:19am #27
I just learned Arrays in Compsci class xD
I'll give this a try, maybe.
- 27 Jan. 2013 07:34am #28
I sent my entry, I think.
I checked my "sent PMS", and it was empty...
- 27 Jan. 2013 08:13am #29
- 27 Jan. 2013 09:17am #30
What are the judging metrics to determine a winner?
- 27 Jan. 2013 09:19am #31
I'll write something up for you thomas sometime tomorrow.
- 27 Jan. 2013 09:24am #32
- 27 Jan. 2013 11:02am #33
I think what he was more getting at was are you going to be judging? Because I could write something more efficient than the next person, but that doesn't necessarily mean you'll be able to recognise that :p
- 27 Jan. 2013 11:13am #34
- 27 Jan. 2013 05:09pm #35
Aw darn. It's on efficiency? XD
Mine is probably the most inefficient it can get >_<
- 27 Jan. 2013 06:01pm #36
- Join Date
- Apr. 2010
- Location
- When freedom is outlawed only outlaws will be free
- Posts
- 5,113
- Reputation
- 195
- LCash
- 1.34
I can send you what mine was going to be before the whole "ratings" thing if you want... I thought it was pretty good, tbh, but then the ratings thing screwed it up and now I have no idea how to solve it, so I gave up.
- 18 Feb. 2013 06:44am #37
So.... ummm..
Who had the most efficient code?
- 18 Feb. 2013 06:50am #38
Me of course
- 18 Feb. 2013 07:46am #39
What does your code look like?
- 18 Feb. 2013 07:50am #40