Search found 10 matches
- 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.
- 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
- 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 ...
#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 ...
- Wed Nov 03, 2004 7:17 am
- Forum: Volume 8 (800-899)
- Topic: 870 - Intersecting Rectangles
- Replies: 8
- Views: 6294
- 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 ...
: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 ...
- Wed Oct 20, 2004 5:38 am
- Forum: General
- Topic: A SUGESTION FOR ACM
- Replies: 5
- Views: 1914
- Mon Oct 11, 2004 8:13 am
- Forum: General
- Topic: A SUGESTION FOR ACM
- Replies: 5
- Views: 1914
- Fri Oct 08, 2004 5:12 pm
- Forum: General
- Topic: A SUGESTION FOR ACM
- Replies: 5
- Views: 1914
A SUGESTION FOR ACM










- 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 ...
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 ...
- 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 ...
: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 ...