Search found 5 matches

by dmc
Wed Jan 18, 2006 7:32 pm
Forum: Volume 2 (200-299)
Topic: 256 - Quirksome Squares
Replies: 30
Views: 8690

256 - Quirksome Squares

problem solved
by dmc
Wed Jan 18, 2006 3:52 pm
Forum: Volume 6 (600-699)
Topic: 600 - A Duckpin Tournament
Replies: 12
Views: 9960

600

I need some test cases for 600 task. :o thanks for all :P
by dmc
Tue Dec 20, 2005 11:25 am
Forum: Volume 4 (400-499)
Topic: 413 - Up and Down Sequences
Replies: 22
Views: 9764

your program didn't pass even sample input, have you noticed it?

this is your incorrect test case:
4 4 4 3 3 3 4 0
it should be
Nr values = 7: 1.000000 5.000000
but you have
Nr values = 7: 3.000000 5.000000

and here's more test cases for those who have difficulty solving it:

INPUT
1 2 3 0
3 2 1 ...
by dmc
Mon Dec 19, 2005 7:55 pm
Forum: C
Topic: compile error
Replies: 3
Views: 2398

Re: compile error

Krzysztof Duleba wrote:
dmc wrote:please help! I have a compile error!!!
I have used gcc 2.95.2 on my machine and all is OK!
Have you? Then what's #include <conio.h> doing there?

Anyway, there's no reason to scream and this is not the right forum to ask such questions.
thanks for all! And sorry for 'scream' :oops:
by dmc
Mon Dec 19, 2005 7:10 pm
Forum: C
Topic: compile error
Replies: 3
Views: 2398

compile error

please help! I have a compile error!!!
I have used gcc 2.95.2 on my machine and all is OK!

code :

#include <stdio.h>
#include <string.h>
#include <STDLIB.H>
#include <conio.h>

int lasttype = 0; // flag, which previous switch has been executed UP or DOWN
int nqty = 0;
int nPrev = 0;
int qty = 0 ...

Go to advanced search