dcsimg
Results 1 to 23 of 23

Thread: Coding Contest Suggestions

  1. #1

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    9,544

    Coding Contest Suggestions

    The purpose of stickying this thread is to allow for members to make suggestions for contest content.

    Please, before making a suggestion, look at any prior posts to make sure that your suggestion hasn't been proposed yet so that we can limit duplicate suggestions.

  2. #2
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    629

    Re: Coding Contest Suggestions

    To kick this off with a moderately easy one.

    Given as input a number in a specified base (between 2 and 36 ie using digits 0-9 and letters A-Z) and the base of the desired number, output the converted number as a sum of its constituent parts. eg

    Input base: 8
    Output base: 16
    Input: 1234
    Output: 1234 (b8) = 2*16^2 + 9*16 + 12

    Input base:16
    Output base: 7
    Input: 29C
    Output: 29C (b16) = 7^3 + 6*7^2 + 4*7 + 3

    (where ^ means raised to the power of and has higher precedence than *).
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++17 Compiler: Microsoft VS2019 (16.3.1)

  3. #3
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    629

    Re: Coding Contest Suggestions

    Also.

    Given as input an integer number, by only rearranging the digits from the entered number what is the next highest number that can be formed.

    eg
    Enter number: 1243
    Next highest: 1324

    Enter number: 1234321
    Next highest: 1241233
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++17 Compiler: Microsoft VS2019 (16.3.1)

  4. #4
    Hyperactive Member Peter Porter's Avatar
    Join Date
    Jul 2013
    Posts
    258

    Re: Coding Contest Suggestions

    Given a list of artists and their songs, open a blog at Blogger.com and publish posts per artist with their song (Counting Crows - Mr. Jones, Radiohead - Creep, Soul Asylum - Runaway Train, ect...). Set-up a Feedburner account for this blog, and publish it's Feedburner RSS feed to your blog's sidebar with Blogger's HTML/Javascript gadget.

    Using Javascript, alter the sidebar's Feedburner RSS feed, flipping the artist and song, with the artists name placed below their song, with a dotted bottom border separating each link. The song's text size needs to be slightly larger, different color, plus the artist and their song's text needs to retain it's original link.
    Last edited by Peter Porter; Feb 7th, 2017 at 01:35 PM.

  5. #5
    Hyperactive Member Peter Porter's Avatar
    Join Date
    Jul 2013
    Posts
    258

    Schuffle character string, all combinations, but no duplicates, to discover word.

    Given a scrambled word, schuffle this string for all combinations without duplicates.

    Within this list of combinations should be the word unscrambled.
    Last edited by Peter Porter; Feb 8th, 2017 at 09:24 AM.

  6. #6
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,585

    Re: Coding Contest Suggestions

    make a video player that takes horizontall-split 3d encoded videos and re-displays them with a vertical split for use with cheap vr goggles.

  7. #7
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    22,453

    Re: Coding Contest Suggestions

    No new contest? Must be time for another...

  8. #8

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    9,544

    Re: Coding Contest Suggestions

    Quote Originally Posted by .paul. View Post
    No new contest? Must be time for another...
    Unfortunately, I've been studying for my Series 6 test, so that has been taking up most of my time.

  9. #9
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    22,453

    Re: Coding Contest Suggestions

    Quote Originally Posted by dday9 View Post
    Unfortunately, I've been studying for my Series 6 test, so that has been taking up most of my time.
    Ok I can wait. I have other work and the TechNet Guru Competitions to keep me occupied.
    Good luck with the exams...

  10. #10
    Hyperactive Member Peter Porter's Avatar
    Join Date
    Jul 2013
    Posts
    258

    Aircraft's principle axes in VB.NET or C#

    How about a controllable visual of an aircraft's principle axes in either VB6, VB.NET, C# or HTML5/Javascript?

    Yaw (normal axis) - nose left or right about an axis running up and down.

    Pitch (transverse/lateral axis) - nose up or down about an axis running from wing to wing.

    Roll (longitudinal axis) - rotation about an axis running from nose to tail.


    Third party libraries and 3d models are not allowed. Only simple graphics (jpg, png), or shapes created within the allowed programming languages.
    Last edited by Peter Porter; Jul 15th, 2018 at 12:22 PM.

  11. #11
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    629

    Re: Coding Contest Suggestions

    Considering the focus of these forums, I would suggest that VB6 etc is allowed.
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++17 Compiler: Microsoft VS2019 (16.3.1)

  12. #12
    Hyperactive Member Peter Porter's Avatar
    Join Date
    Jul 2013
    Posts
    258

    Re: Coding Contest Suggestions

    2kaud, I've updated my suggestion, but limited the allowed languages for speedy judging.
    Last edited by Peter Porter; Jul 15th, 2018 at 06:50 AM.

  13. #13
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    629

    Re: Coding Contest Suggestions

    Quote Originally Posted by Peter Porter View Post
    2kaud, I've updated my suggestion, but limiting the allowed languages for speedy judging.
    I agree. I'd suggest excluding c/c++ (which bars myself!) because of previous judging issues.
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++17 Compiler: Microsoft VS2019 (16.3.1)

  14. #14

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    9,544

    Re: Coding Contest Suggestions

    We’ve tried VB6 in the past, but none of the moderators or admins have a way to compile VB6 (or earlier).

  15. #15
    Hyperactive Member Peter Porter's Avatar
    Join Date
    Jul 2013
    Posts
    258

    Re: Coding Contest Suggestions

    Quote Originally Posted by dday9 View Post
    We’ve tried VB6 in the past, but none of the moderators or admins have a way to compile VB6 (or earlier).
    I wouldn't be able to test it myself, but maybe we could ask the submitter to screen record the code in VB6, and how it runs.

  16. #16
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    629

    Re: Coding Contest Suggestions

    Quote Originally Posted by dday9 View Post
    We’ve tried VB6 in the past, but none of the moderators or admins have a way to compile VB6 (or earlier).
    What about a moderator from one of the sister sites (eg codeguru)?
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++17 Compiler: Microsoft VS2019 (16.3.1)

  17. #17
    Hyperactive Member Peter Porter's Avatar
    Join Date
    Jul 2013
    Posts
    258

    Re: Coding Contest Suggestions

    It's that time, so here is my suggestion for this year:

    Count a line of random characters and their duplicate neighbors to create a numbered string.

    For example, if a judge enters DDEEESAIIIIFF, your app should figure out:

    DD = 2
    EEE = 3
    S = 1
    A = 1
    IIII = 4
    FF = 2

    So it's output will be 231142


    If a judge enters AABAAABBABBBB, your app's output should be 213214
    Last edited by Peter Porter; Aug 26th, 2019 at 04:54 AM.

  18. #18
    New Member netcoder1337's Avatar
    Join Date
    Sep 2019
    Posts
    11

    Re: Coding Contest Suggestions

    A fun coding contest would be having people make simple functions but trying to make them as short and as efficient as possible.

  19. #19
    Hyperactive Member Peter Porter's Avatar
    Join Date
    Jul 2013
    Posts
    258

    Re: Coding Contest Suggestions

    Quote Originally Posted by netcoder1337 View Post
    A fun coding contest would be having people make simple functions but trying to make them as short and as efficient as possible.
    netcoder1337, code length is always one of the rules when a contest is held. You have to suggest a project idea. The program can be anything, just as long as it doesn't take a team to create it.

  20. #20
    New Member netcoder1337's Avatar
    Join Date
    Sep 2019
    Posts
    11

    Re: Coding Contest Suggestions

    How about the shortest stairs function contest.

    Ex:

    Code:
    Stairs("Hello there")
    
    Output:
    H
    He
    Hel
    Hell
    Hello
    Hello t
    Hello th
    Hello the
    Hello ther
    Hello there

  21. #21
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    629

    Re: Coding Contest Suggestions

    Quote Originally Posted by netcoder1337 View Post
    How about the shortest stairs function contest.

    Ex:

    Code:
    Stairs("Hello there")
    
    Output:
    H
    He
    Hel
    Hell
    Hello
    Hello t
    Hello th
    Hello the
    Hello ther
    Hello there
    Well in c/c++ this is a one-liner. I guess it can be done in one line in other languages too?
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++17 Compiler: Microsoft VS2019 (16.3.1)

  22. #22

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    9,544

    Re: Coding Contest Suggestions

    That could be a one liner in C#/Visual Basic .NET too.

    Generally speaking I try to find concepts or algorithms that people can implement. I was thinking about maybe doing an A* algorithm contest, this would allow people become familiar with path finding and it would be interesting to see how different people implement the same algorithm. Either that or maybe look into implementing a language parser for an esoteric language.

  23. #23
    Hyperactive Member Peter Porter's Avatar
    Join Date
    Jul 2013
    Posts
    258

    Re: Coding Contest Suggestions

    Quote Originally Posted by dday9 View Post
    That could be a one liner in C#/Visual Basic .NET too.

    Generally speaking I try to find concepts or algorithms that people can implement. I was thinking about maybe doing an A* algorithm contest, this would allow people become familiar with path finding and it would be interesting to see how different people implement the same algorithm. Either that or maybe look into implementing a language parser for an esoteric language.
    A* algorithm contest sounds good. Could the contest be advertised in other forums here before it starts?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width