Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Programming competition

Programming competition

Scheduled Pinned Locked Moved The Lounge
question
36 Posts 27 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wizofaus
    wrote on last edited by
    #1

    I know Code Project has an article competition - but how about a programming competition, where every week (or month) a small programming task is set - something that would generally take no more than 1000 lines of code to do - and all Code Project members are encouraged to submit answers. Ideally, it would be language/platform neutral, or there could be separate competitions for different platforms. The judging could be partly automated (i.e. the code has to compile and produce the expected output), then all the solutions that work correctly could be judged by a panel, or even by other (non-participating) readers. No need for prizes unless some corporate sponsor feels it's worth it I guess. Does anyone know of an existing website that does this? (I found one, but it hadn't been updated since 2006).

    N C S W A 17 Replies Last reply
    0
    • W wizofaus

      I know Code Project has an article competition - but how about a programming competition, where every week (or month) a small programming task is set - something that would generally take no more than 1000 lines of code to do - and all Code Project members are encouraged to submit answers. Ideally, it would be language/platform neutral, or there could be separate competitions for different platforms. The judging could be partly automated (i.e. the code has to compile and produce the expected output), then all the solutions that work correctly could be judged by a panel, or even by other (non-participating) readers. No need for prizes unless some corporate sponsor feels it's worth it I guess. Does anyone know of an existing website that does this? (I found one, but it hadn't been updated since 2006).

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      RKV*0* and MC*1* used to do something similar to this a while ago - every Friday. But very few people here are actually interested in writing code, most people just like to talk about it, so they both stopped doing it. :rolleyes: *0* - Rama Krishna Vavilala *1* - Marc Clifton

      Regards, Nish


      Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
      My latest book : C++/CLI in Action / Amazon.com link

      P M 2 Replies Last reply
      0
      • N Nish Nishant

        RKV*0* and MC*1* used to do something similar to this a while ago - every Friday. But very few people here are actually interested in writing code, most people just like to talk about it, so they both stopped doing it. :rolleyes: *0* - Rama Krishna Vavilala *1* - Marc Clifton

        Regards, Nish


        Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
        My latest book : C++/CLI in Action / Amazon.com link

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        Nishant Sivakumar wrote:

        few people here are actually interested in writing c

        Hey, hey, hey... we just prefer to write very little code. I always found it stimulating.

        1 Reply Last reply
        0
        • W wizofaus

          I know Code Project has an article competition - but how about a programming competition, where every week (or month) a small programming task is set - something that would generally take no more than 1000 lines of code to do - and all Code Project members are encouraged to submit answers. Ideally, it would be language/platform neutral, or there could be separate competitions for different platforms. The judging could be partly automated (i.e. the code has to compile and produce the expected output), then all the solutions that work correctly could be judged by a panel, or even by other (non-participating) readers. No need for prizes unless some corporate sponsor feels it's worth it I guess. Does anyone know of an existing website that does this? (I found one, but it hadn't been updated since 2006).

          C Offline
          C Offline
          Chris Maunder
          wrote on last edited by
          #4

          Send me a few quiz questions and I'll do it. I love the idea.

          cheers, Chris Maunder

          CodeProject.com : C++ MVP

          C M S 3 Replies Last reply
          0
          • C Chris Maunder

            Send me a few quiz questions and I'll do it. I love the idea.

            cheers, Chris Maunder

            CodeProject.com : C++ MVP

            C Offline
            C Offline
            codemunkeh
            wrote on last edited by
            #5

            I'm thinking along the lines of Fizzbuzz :D Well, maybe not.


            Ninja (the Nerd)
            Confused? You will be...

            1 Reply Last reply
            0
            • W wizofaus

              I know Code Project has an article competition - but how about a programming competition, where every week (or month) a small programming task is set - something that would generally take no more than 1000 lines of code to do - and all Code Project members are encouraged to submit answers. Ideally, it would be language/platform neutral, or there could be separate competitions for different platforms. The judging could be partly automated (i.e. the code has to compile and produce the expected output), then all the solutions that work correctly could be judged by a panel, or even by other (non-participating) readers. No need for prizes unless some corporate sponsor feels it's worth it I guess. Does anyone know of an existing website that does this? (I found one, but it hadn't been updated since 2006).

              S Offline
              S Offline
              Shog9 0
              wrote on last edited by
              #6

              As Nish said, Rama used to run an informal little contest every so often. They were fun. If you really like that sort of thing, you might want to check out TopCoder[^] - they've been running competitions like that for years now.

              Citizen 20.1.01

              'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

              R 2 Replies Last reply
              0
              • S Shog9 0

                As Nish said, Rama used to run an informal little contest every so often. They were fun. If you really like that sort of thing, you might want to check out TopCoder[^] - they've been running competitions like that for years now.

                Citizen 20.1.01

                'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                R Offline
                R Offline
                Rama Krishna Vavilala
                wrote on last edited by
                #7

                Shog9 wrote:

                They were fun.

                The lack of interest shown by people made me cancel the feature. If Chris is starting the feature it will be fun.

                1 Reply Last reply
                0
                • S Shog9 0

                  As Nish said, Rama used to run an informal little contest every so often. They were fun. If you really like that sort of thing, you might want to check out TopCoder[^] - they've been running competitions like that for years now.

                  Citizen 20.1.01

                  'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                  R Offline
                  R Offline
                  Rama Krishna Vavilala
                  wrote on last edited by
                  #8

                  I missed the CPHog icon:cool: as I have been using Safari almost exclusively lately.

                  1 Reply Last reply
                  0
                  • W wizofaus

                    I know Code Project has an article competition - but how about a programming competition, where every week (or month) a small programming task is set - something that would generally take no more than 1000 lines of code to do - and all Code Project members are encouraged to submit answers. Ideally, it would be language/platform neutral, or there could be separate competitions for different platforms. The judging could be partly automated (i.e. the code has to compile and produce the expected output), then all the solutions that work correctly could be judged by a panel, or even by other (non-participating) readers. No need for prizes unless some corporate sponsor feels it's worth it I guess. Does anyone know of an existing website that does this? (I found one, but it hadn't been updated since 2006).

                    W Offline
                    W Offline
                    wizofaus
                    wrote on last edited by
                    #9

                    Oh, I forgot mention, Code Project members should also be encouraged to submit tasks/problems too. As an example of the sort of task that might be suitable: a simple program that takes 3 or 4 web pages generated by the same server-side template/script, and that automatically "reverse engineers" the pages to work out what what the optimal template is. E.g. if the pages were 1.html This page is about apples.

                    Colour

                    Red

                    Size

                    Medium

                    2.html This page is about blueberries.

                    Colour

                    Blue/black

                    Size

                    Small

                    3.html This page is about coconuts.

                    Colour

                    Brown

                    Size

                    Large

                    Then then the optimal output template (in .aspx format) would be something like: This page is about <%=v1>

                    Colour

                    <%=v3%>

                    Size

                    <%=v4>

                    To pass the automated part of the test, the application would be compiled and run against at least 3 sets of files, (i.e., not the ones that are given as examples as part of the task definition), and the output tested to confirm it was at least sensible (e.g. matches the regular expression ^.{10,200}\s*$), or if the task itself was defined very strictly, then there's no reason why the output shouldn't be exactly as expected. Ideally, programmers should be able to submit their solution to be tested against the automated checker first, just to confirm their solution compiles and runs. Anyway, just an idea...

                    R 1 Reply Last reply
                    0
                    • N Nish Nishant

                      RKV*0* and MC*1* used to do something similar to this a while ago - every Friday. But very few people here are actually interested in writing code, most people just like to talk about it, so they both stopped doing it. :rolleyes: *0* - Rama Krishna Vavilala *1* - Marc Clifton

                      Regards, Nish


                      Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                      My latest book : C++/CLI in Action / Amazon.com link

                      M Offline
                      M Offline
                      Marc Clifton
                      wrote on last edited by
                      #10

                      Nishant Sivakumar wrote:

                      But very few people here are actually interested in writing code, most people just like to talk about it, so they both stopped doing it.

                      Actually, a client and I parted ways a while back, so I lost my source of examples of terrible code (written by outsourced folks in Costa Rica) from which I would ask "how would you code this?" here at CP. But I did enjoy getting away with posting programming questions in the lounge, hehe. Marc

                      Thyme In The Country Interacx My Blog

                      1 Reply Last reply
                      0
                      • W wizofaus

                        I know Code Project has an article competition - but how about a programming competition, where every week (or month) a small programming task is set - something that would generally take no more than 1000 lines of code to do - and all Code Project members are encouraged to submit answers. Ideally, it would be language/platform neutral, or there could be separate competitions for different platforms. The judging could be partly automated (i.e. the code has to compile and produce the expected output), then all the solutions that work correctly could be judged by a panel, or even by other (non-participating) readers. No need for prizes unless some corporate sponsor feels it's worth it I guess. Does anyone know of an existing website that does this? (I found one, but it hadn't been updated since 2006).

                        A Offline
                        A Offline
                        Anton Afanasyev
                        wrote on last edited by
                        #11

                        There's always this: http://icpcres.ecs.baylor.edu/onlinejudge/[^], if you just feel like coding something. But I guess it's just not the same.

                        "impossible" is just an opinion.

                        W 1 Reply Last reply
                        0
                        • A Anton Afanasyev

                          There's always this: http://icpcres.ecs.baylor.edu/onlinejudge/[^], if you just feel like coding something. But I guess it's just not the same.

                          "impossible" is just an opinion.

                          W Offline
                          W Offline
                          wizofaus
                          wrote on last edited by
                          #12

                          Looks like the sort of thing I had in mind (although the site itself doesn't work under IE7), except I imagined having just one active problem at a time, rather than a whole bunch of them that appear to have been there for years. Still, thanks for the link.

                          1 Reply Last reply
                          0
                          • W wizofaus

                            I know Code Project has an article competition - but how about a programming competition, where every week (or month) a small programming task is set - something that would generally take no more than 1000 lines of code to do - and all Code Project members are encouraged to submit answers. Ideally, it would be language/platform neutral, or there could be separate competitions for different platforms. The judging could be partly automated (i.e. the code has to compile and produce the expected output), then all the solutions that work correctly could be judged by a panel, or even by other (non-participating) readers. No need for prizes unless some corporate sponsor feels it's worth it I guess. Does anyone know of an existing website that does this? (I found one, but it hadn't been updated since 2006).

                            D Offline
                            D Offline
                            dwales
                            wrote on last edited by
                            #13

                            It would be nice if Programmer of the Month (http://dinsights.com/POTM/[^]) could be revived (possibly that's the one you found). Spent a lot of time coding solutions to the problems there, without too much success. I think it took a lot of time of the moderator to run it though. Some others I can't vouch for: http://www.recmath.org/contest/[^] http://www.spoj.pl/[^] And of course: http://www.ioccc.org/[^]

                            1 Reply Last reply
                            0
                            • W wizofaus

                              I know Code Project has an article competition - but how about a programming competition, where every week (or month) a small programming task is set - something that would generally take no more than 1000 lines of code to do - and all Code Project members are encouraged to submit answers. Ideally, it would be language/platform neutral, or there could be separate competitions for different platforms. The judging could be partly automated (i.e. the code has to compile and produce the expected output), then all the solutions that work correctly could be judged by a panel, or even by other (non-participating) readers. No need for prizes unless some corporate sponsor feels it's worth it I guess. Does anyone know of an existing website that does this? (I found one, but it hadn't been updated since 2006).

                              B Offline
                              B Offline
                              Bijoy Thangaraj R
                              wrote on last edited by
                              #14

                              Check out http://www.topcoder.com

                              Thanks and Regards, Bijoy Thangaraj http://www.jsplash.com

                              R 1 Reply Last reply
                              0
                              • W wizofaus

                                I know Code Project has an article competition - but how about a programming competition, where every week (or month) a small programming task is set - something that would generally take no more than 1000 lines of code to do - and all Code Project members are encouraged to submit answers. Ideally, it would be language/platform neutral, or there could be separate competitions for different platforms. The judging could be partly automated (i.e. the code has to compile and produce the expected output), then all the solutions that work correctly could be judged by a panel, or even by other (non-participating) readers. No need for prizes unless some corporate sponsor feels it's worth it I guess. Does anyone know of an existing website that does this? (I found one, but it hadn't been updated since 2006).

                                J Offline
                                J Offline
                                Jonas Hammarberg
                                wrote on last edited by
                                #15

                                Not on topic but not that far away either... For stretching your mind; "Find The Bug - A book of incorrect answers" by Adam Barr,ISBN 0-321-22391-8 Not that hard problems but you never ceases to be amazed by the number of wrong ways a piece can be coded. rgds /Jonas

                                B 1 Reply Last reply
                                0
                                • B Bijoy Thangaraj R

                                  Check out http://www.topcoder.com

                                  Thanks and Regards, Bijoy Thangaraj http://www.jsplash.com

                                  R Offline
                                  R Offline
                                  Reelix
                                  wrote on last edited by
                                  #16

                                  Sounds good :) What's the first challenge? *Cracks Knuckles* Re-Code Windows? ;P

                                  J 1 Reply Last reply
                                  0
                                  • C Chris Maunder

                                    Send me a few quiz questions and I'll do it. I love the idea.

                                    cheers, Chris Maunder

                                    CodeProject.com : C++ MVP

                                    M Offline
                                    M Offline
                                    Member 96
                                    wrote on last edited by
                                    #17

                                    I'd love to see some along the lines of an optimization competition with a fixed set of data and some complex task and standard for timing but aside from that no rules, use any language, any common platform etc. It would not only be fun it would be very instructive.


                                    "The pursuit of excellence is less profitable than the pursuit of bigness, but it can be more satisfying." - David Ogilvy

                                    1 Reply Last reply
                                    0
                                    • W wizofaus

                                      I know Code Project has an article competition - but how about a programming competition, where every week (or month) a small programming task is set - something that would generally take no more than 1000 lines of code to do - and all Code Project members are encouraged to submit answers. Ideally, it would be language/platform neutral, or there could be separate competitions for different platforms. The judging could be partly automated (i.e. the code has to compile and produce the expected output), then all the solutions that work correctly could be judged by a panel, or even by other (non-participating) readers. No need for prizes unless some corporate sponsor feels it's worth it I guess. Does anyone know of an existing website that does this? (I found one, but it hadn't been updated since 2006).

                                      D Offline
                                      D Offline
                                      Dexterus
                                      wrote on last edited by
                                      #18

                                      http://ace.delos.com/usacogate[^] A huge training set that you have to complete in order, monthly competitions or something. Done about half the training set while in highschool but due to spending a lot of time drinking/partying I didn't get through it all. Then there's any ACM problem sets (still have a few hundred of those tasks). Normally you want reasonably low runtimes, low enough that complexity makes the difference and not the compiler. It's always fun but never enough time.

                                      1 Reply Last reply
                                      0
                                      • W wizofaus

                                        I know Code Project has an article competition - but how about a programming competition, where every week (or month) a small programming task is set - something that would generally take no more than 1000 lines of code to do - and all Code Project members are encouraged to submit answers. Ideally, it would be language/platform neutral, or there could be separate competitions for different platforms. The judging could be partly automated (i.e. the code has to compile and produce the expected output), then all the solutions that work correctly could be judged by a panel, or even by other (non-participating) readers. No need for prizes unless some corporate sponsor feels it's worth it I guess. Does anyone know of an existing website that does this? (I found one, but it hadn't been updated since 2006).

                                        L Offline
                                        L Offline
                                        Luke Dyer
                                        wrote on last edited by
                                        #19

                                        A website called http://projecteuler.net/[^] does something similar, the problems are mainly theoretical and maths based. The problems start off easy, but believe me, they get very hard. It's updated quite regularly, probably a new problem every couple of weeks.

                                        1 Reply Last reply
                                        0
                                        • J Jonas Hammarberg

                                          Not on topic but not that far away either... For stretching your mind; "Find The Bug - A book of incorrect answers" by Adam Barr,ISBN 0-321-22391-8 Not that hard problems but you never ceases to be amazed by the number of wrong ways a piece can be coded. rgds /Jonas

                                          B Offline
                                          B Offline
                                          BadKarma
                                          wrote on last edited by
                                          #20

                                          Take a look at this site http://www.gimpel.com/[^]. Its kind of an online version. With every month a new Bug to crack

                                          codito ergo sum

                                          J 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups