competition

ACM Problem: Coin-Flipping, help me identify the type of problem this is.

I'm practicing for the upcoming ACM programming competition in a week and I've gotten stumped on this programming problem. The problem is as follows: You have a puzzle consisting of a square grid of size 4. Each grid square holds a single coin; each coin is showing either heads (H) and tails (T). One such puzzle is shown here: H...

What are the criteria for judging codes in competition?

I'm sure you guys have joined or seen competitions with totally weird judging criteria. For example the C/C++ online competition from India few months ago judge by number of semicolons you use, where the lesser you use, the better your code is. Way to encourage unreadable codes. I mean, it's not code obfuscation competition! So I'm inte...

Advice/Wisdom for Programming Competitions. (Specifically the IOI)

Hi folks- I'm on the Irish team heading to the International Olympiad of Informatics in Bulgaria at the start of August, and from the great pools of wisdom of SA, I wish to ask a few questions of those of you who have competed in programming competitions (or indeed, the IOI) before. Mainly, what tidbits of advice can you give for those...

Triangle numbers problem....show within 4 seconds

The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be: 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ... Let us list the factors of the first seven triangle numbers: 1: 1 3: 1,3 6: 1,2,3,6 10: 1,2,5,...

What is the best Battleship AI?

Battleship! Back in 2003, (when I was 17,) I competed in a Battleship AI coding competition. Even though I lost that tournament, I had a lot of fun and learned a lot from it. Now, I would like to resurrect this competition, in the search of the best battleship AI. Here is the framework: Battleship.zip The winner will be awarded +45...

Limit user participation to a server regulated competition? (iphone sdk)

Hi, I am new to programming for the iPhone. I want to allow my users to participate in a competition, to a maximum of n times a day. Is there anyway of going about that programmatically and/or through a server for optimal security (i have done NSUserDefaults). ? Is it possible to get the database server to check the number of entries ma...

Is there a C# token counter?

I want to have a programming competition with a friend of mine in C# and the competition will be to write with the fewest number of C# tokens. I have seen C++ token counting programs around but is there one for C#? Or would there be something in System.Reflection? Additionally, if anyone has links to token counters for other languages, f...

How to create reactive tasks for programming competitions?

A reactive task is sometimes seen in the IOI programming competition. Unlike batch tasks, reactive solutions take input from another program as well as outputting it. The program typically 'query' the judge program a certain number of times, then output a final answer. An example The client program accepts lines one by one, and simply ...

Code Golf: ASCII Art number

Possible Duplicate: Code Golf - Banner Generation Post your shortest code to convert a number into a ASCII art digits. Input - Assume that an integer variable called z has already been set containing the number. Output - Print the output to the console. Quality - The lower number of characters, the better. Formatting - Fle...

the relation between popularity and competition in SEO field

what is the relation between popularity and competition in SEO field? i don't mean the formula.i mean the conceptional relation. i mean can we say more competition cause more popularity or viseversa,more popularity cause more competition? more competition about a topic means it is general that many sites talk about it and so maybe more ...

why has noone sorted out the mess of browsers, HTML/css and javascript

Why hasn't someone gone and sorted at least most of the discrepancies between browsers, take for example: -webkit-border-radius: 100px; -moz-border-radius: 100px; border-radius: 100px; or gradients? In the above example why did mozilla have to have their own version? And if it's because they had support for border radius before the C...

A problem from a programming competition... Digit Sums.

I need help solving problem N from this earlier competition: Problem N: Digit Sums Given 3 positive integers A, B and C, find how many positive integers less than or equal to A, when expressed in base B, have digits which sum to C. Input will consist of a series of lines, each containing three integers, A, B and C, 2 ...