i tried all the input cases.. had gone thru the previous messages. but still get WA. i dont know why? could anyone please figure out the problem. the code is as follows:
[cpp]
#include <stdio.h>
#include <iostream>
using namespace std;
int main()
{
int num; /* num indicates the number of names ...
Search found 3 matches
- Wed Aug 11, 2004 10:50 pm
- Forum: Volume 4 (400-499)
- Topic: 400 - Unix ls
- Replies: 93
- Views: 29865
- Wed Aug 11, 2004 10:36 pm
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 116609
thanks..
thanks a lot man .. that worked.. but the problem does not state that condition right?? anyway thanx for that suggestion..
- Wed Aug 11, 2004 6:25 am
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 116609
Problem 102
i am new to this forum. i tried doing the problem 102. but got WA 4 times.
coudl anyone please help me with what is the problem with the following code. please.[cpp]
#include <stdio.h>
#include <iostream>
using namespace std;
int main()
{
int a[10]={0},b[6];
while(cin>>a[1])
{
for(int i=2;i<10;i ...
coudl anyone please help me with what is the problem with the following code. please.[cpp]
#include <stdio.h>
#include <iostream>
using namespace std;
int main()
{
int a[10]={0},b[6];
while(cin>>a[1])
{
for(int i=2;i<10;i ...