Havn't see the equivalent code, thoughhank wrote:What is the syntax " while( scanf("%d %d %d",&i,&j,&k)==3 ) ......"
in C++ (using cin) ?
Search found 17 matches
- 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
- 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.
get_inputs method is not functioning properly.
- 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 ...
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 ...
- Fri Jan 09, 2004 8:56 pm
- Forum: Volume 6 (600-699)
- Topic: 697 - Jack and Jill
- Replies: 21
- Views: 8306
- Sat Dec 20, 2003 1:17 am
- Forum: Volume 6 (600-699)
- Topic: 697 - Jack and Jill
- Replies: 21
- Views: 8306
- 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.
You help would be appreciated.
Thanks in advance.
- Thu Dec 04, 2003 6:46 pm
- Forum: Volume 6 (600-699)
- Topic: 602 - What Day Is It?
- Replies: 56
- Views: 28031
- 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 ...
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 ...
- Fri Nov 21, 2003 8:16 pm
- Forum: Volume 6 (600-699)
- Topic: 602 - What Day Is It?
- Replies: 56
- Views: 28031
- 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
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
- 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
Can someone please post some sample input with output.
Thanks
- Wed Oct 08, 2003 9:27 pm
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 116717
- 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"
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"
- Thu Oct 02, 2003 4:01 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108784
- Thu Oct 02, 2003 3:09 am
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108784