Search found 10 matches

by MUBBASHER
Fri Apr 22, 2005 6:36 pm
Forum: Volume 4 (400-499)
Topic: 482 - Permutation Arrays
Replies: 159
Views: 53397

Test Cases of problem # 482

Hello every One if any one can send me the test cases of my problem and i am already getting the error of wrong answer so i have submitted the code if any one can help me.
by MUBBASHER
Fri Apr 22, 2005 4:49 pm
Forum: Volume 4 (400-499)
Topic: 480 - Tempus Fugit
Replies: 2
Views: 1911

480 - Tempus Fugit

Hellol guies If any one can help me with this problem # 480 its subbmission is nill i have tried it so any one can tell me about this logic
by MUBBASHER
Thu Apr 21, 2005 6:00 am
Forum: General
Topic: Getting Wrong answer Help me out
Replies: 1
Views: 1194

Getting Wrong answer Help me out

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>

#define MAX_N 100000
#define MAXC 3000000
char line[MAXC];

int order[MAX_N];
char elements[MAX_N][50];
int n;

int getsLine(char s[]) {
int i = 0;
char ch;
if (1 != scanf("%c", &ch)) return 0;
while (ch != '\n ...
by MUBBASHER
Wed Nov 03, 2004 7:17 am
Forum: Volume 8 (800-899)
Topic: 870 - Intersecting Rectangles
Replies: 8
Views: 6294

Yes The UPPER LIMIT IS i know from a friend who solved it is 30 X 30

in your message you talk about DFS() what does it mean ? what does it do ?

Here is My code: Can You Tell me What is wrong with it or test Case Where It Fails.

THANKS IN ADVANCE.
//################################
[cpp]
#include ...
by MUBBASHER
Wed Oct 27, 2004 5:31 am
Forum: Volume 8 (800-899)
Topic: 870 - Intersecting Rectangles
Replies: 8
Views: 6294

870 - Intersecting Rectangles

:o I have solved 870 ( Intersecting Rectangles )
:o Problem, But Why WA? :x

I have used floodfill to calculate intersection area.

Then i have grouped those rectangles which have connection with the main Rectangle.

Calculated there total area.Then subtracted Total Intersection area from it.

Can ...
by MUBBASHER
Wed Oct 20, 2004 5:38 am
Forum: General
Topic: A SUGESTION FOR ACM
Replies: 5
Views: 1914

:-? Ohhh...

:( Problems are there.

:wink: If they say Each output against a test case should start with '#' or any other Symbol,

8) Then They can make decision about how many answers are correct and how many wrong.

:o For this they will have to change their all Standrad output files for all ...
by MUBBASHER
Mon Oct 11, 2004 8:13 am
Forum: General
Topic: A SUGESTION FOR ACM
Replies: 5
Views: 1914

:lol: It can be solved.

:-? I think they would be using a command that is probably grep to compare two files:
One is our output file and Seond is there standard output file.

:wink: the would have to chage this some to increase user interactivity and to give him an idea about the percentage of ...
by MUBBASHER
Fri Oct 08, 2004 5:12 pm
Forum: General
Topic: A SUGESTION FOR ACM
Replies: 5
Views: 1914

A SUGESTION FOR ACM

:D :D HEY FRIENDS

8) 8) I HAVE A SUGESTION FOR " ACM SITE"

:wink: :wink: IN CASE OF WRONG ANSWER ACM SHOULD ALSO TELL ABOUT HOW MANY WRONG AND HOW MANY CORRECT ANSWERS HAVE BEEN PRODUCED.

:P :P DO YOU LIKE THIS IDEA :P :P
by MUBBASHER
Thu Oct 07, 2004 10:23 am
Forum: Volume 100 (10000-10099)
Topic: 10024 - Curling up the cube
Replies: 13
Views: 5533

10024

:o I m getting problem in solving 10024 "Curling up he cube"

perhaps i m not getting the correct way to solve th problem.

Here are steps througjh which i tried to solve my problem.

:wink: First i have made a class of 'FACE' with four
pointers "left,Right,Top ,Bottom".

:wink: Than i have ...
by MUBBASHER
Mon Oct 04, 2004 7:35 am
Forum: Volume 100 (10000-10099)
Topic: 10024 - Curling up the cube
Replies: 13
Views: 5533

10024 NEED TEST DATA

I a m getting wrong answer from acm-site.
:x
if some body know about getting sample inputs and ouputs from acm site for problem 10024. or from some othwer resourse please tell it to me.
:oops:
Or if somebody already solved the problem please post me the smples produced by his program. i have ...

Go to advanced search