"Warmup" Programming Assignments - vol. 2
See
Poker Hands (10315) (also written below:)
and
Jolly Jumpers (10038)
Implement in a language of your choice.
In order to use the online judge, use Java, C, C++, or Pascal.
Register for the online judge
Your program needs a comment line such as:
/* @JUDGE_ID: 1000AA 100 C "Dynamic Programming" */
The argument after the @JUDGE_ID: is your user ID (1000AA for example), followed by the problem number (100 in the example),
then by the language used.
FOR FULL CREDIT you must submit your programs and have them "Accepted" by the online judge
Here are the warmup problems, vol. 2:
- Poker Hands: program number for judge submission: 10315
(Poker shell in C,
Sample game of War in C and
war cards for 3 games of war (row 1 = player 1, row 2 = player 2)
- Jolly Jumpers, #10038
- Sample Input
4 1 4 2 3
5 1 4 2 -1 6
- Sample Output
Jolly
Not jolly