Search found 17 matches

by beeplove
Tue Mar 16, 2004 10:33 pm
Forum: C++
Topic: A very very small problem
Replies: 12
Views: 5103

Re: A very very small problem

hank wrote:What is the syntax " while( scanf("%d %d %d",&i,&j,&k)==3 ) ......"
in C++ (using cin) ?
Havn't see the equivalent code, though
by beeplove
Fri Mar 12, 2004 11:13 pm
Forum: Volume 6 (600-699)
Topic: 697 - Jack and Jill
Replies: 21
Views: 8306

i think .. i know

I think, I know where is error in my code..
get_inputs method is not functioning properly.
by beeplove
Fri Mar 12, 2004 10:20 pm
Forum: Volume 6 (600-699)
Topic: 697 - Jack and Jill
Replies: 21
Views: 8306

why????? I am getting wrong ... !!!

Can you please see my code again.. where is wrong in my code?
I would reallly appreciate it.

Thanks in advance.

[cpp]
#include <iostream>
#include <iomanip>
#include <math.h>


using std::cin;
using std::cout;
using std::endl;
using std::setw;
using std::setprecision;

using std::ios;

struct ...
by beeplove
Fri Jan 09, 2004 8:56 pm
Forum: Volume 6 (600-699)
Topic: 697 - Jack and Jill
Replies: 21
Views: 8306

Why I am getting WA?
Can anyone help me?


[cpp]
#include <iostream.h>
#include <iomanip.h>
#include <math.h>
#include <stdio.h>


//
struct data {
double UP; // up hill
double D; // well diameter
double L; // water level
double B; // bucket volume
double P; // bucket ascent rate
double ...
by beeplove
Sat Dec 20, 2003 1:17 am
Forum: Volume 6 (600-699)
Topic: 697 - Jack and Jill
Replies: 21
Views: 8306

Can anybody please post more sample input and output.

In output, is there any "\n" after last scenario?
by beeplove
Fri Dec 05, 2003 10:05 pm
Forum: Volume 6 (600-699)
Topic: 699 - The Falling Leaves
Replies: 7
Views: 7515

699

Can anyone please submit more sample input and sample output for problem 699.
You help would be appreciated.

Thanks in advance.
by beeplove
Thu Dec 04, 2003 6:46 pm
Forum: Volume 6 (600-699)
Topic: 602 - What Day Is It?
Replies: 56
Views: 28031

Sorry, not to notice the word 'following'.
What about day reference?
by beeplove
Wed Dec 03, 2003 11:06 pm
Forum: Volume 6 (600-699)
Topic: 602 - What Day Is It?
Replies: 56
Views: 28031

602

I would request to fix the problem 602.

This problem need a reference weekday. like September 14, 1752 was saturday. Otherwise, programmers will have to create their own reference from current date or some other date. As a programmer, I dont want to make a reference from my own.

If you notice in ...
by beeplove
Fri Nov 21, 2003 8:16 pm
Forum: Volume 6 (600-699)
Topic: 602 - What Day Is It?
Replies: 56
Views: 28031

From what year we should consider leap year?
is it from the Julian modified the calander ( year is not given in the calander)?
or from 1 1 1?

There is is no date between 2 sep 1752 14 sep 1752, is it right?
by beeplove
Thu Nov 20, 2003 6:18 pm
Forum: Volume 6 (600-699)
Topic: 602 - What Day Is It?
Replies: 56
Views: 28031

602

Hello guys,

How did you get the reference of weekday?
I didn't see any reference of the name of weekday in the problem.
To get the name of the day, we should have a weekday name for a certain date.
Do we have it in problem 602?



best regards,
beeplove
by beeplove
Thu Oct 09, 2003 9:40 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 116717

Sample input and output of # 102

I am getting expected output from code. But still getting WA.
Can someone please post some sample input with output.

Thanks
by beeplove
Wed Oct 08, 2003 9:27 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 116717

So the line have not 9 integers should be ignored.. right?
by beeplove
Wed Oct 08, 2003 8:10 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 116717

Input of 102

If I put 8 integers instead of 9
What should program do?
1. ignore that line
or,
2. would take the first integer from the next line.


In problem description it said,
"Integers on a line will be separated by one or more spaces"
by beeplove
Thu Oct 02, 2003 4:01 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108784

Yes.. you are right.
I think, I got it to work.

Thanks
by beeplove
Thu Oct 02, 2003 3:09 am
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108784

Well, Lets take another example of initial state,
Last time just set up a state quickly. Sorry about that.
This time state is valid !
;-)


0:
1:
2:
3:
4:
5:
6:
7: 2
8: 8 4 5 6
9: 9 0 1 3 7

move 0 onto 2

I am not sure where 7 will go. Thats why asking again and again.
Thanks a lot, Marteen

Go to advanced search