Guys,this problem is making me crazy. I cant think even on other things. I have gone through all the post related with 615. plz help me why this is giving me WA. :oops: :roll: :x :roll: :oops:
my algo:
1. search the adjacent matrix for root with in degree.(which in degree is 0?)
2. then see for ...
Search found 6 matches
- Fri Aug 27, 2010 3:41 pm
- Forum: Volume 6 (600-699)
- Topic: 615 - Is It A Tree?
- Replies: 71
- Views: 36203
- Tue Aug 03, 2010 10:29 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10814 - Simplifying Fractions
- Replies: 30
- Views: 21913
Re: 10814 - Simplifying Fractions
hi, I am trying to use java for BigInteger class. But getting endless WA . I have already tried the given sample inputs. any kind of suggestion would be appreciable :oops: :roll: :o :-?
/v108-htm01/10814.html
import java.io.*;
import java.util.*;
import java.math.BigInteger;
class Main ...
/v108-htm01/10814.html
import java.io.*;
import java.util.*;
import java.math.BigInteger;
class Main ...
- Sun Nov 29, 2009 7:59 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10258 - Contest Scoreboard
- Replies: 87
- Views: 48361
Re: 10258 - Contest Scoreboard
Thanks everybody specially to new kid. I have the AC 

- Wed Mar 04, 2009 10:09 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10258 - Contest Scoreboard
- Replies: 87
- Views: 48361
Re: 10258 - Contest Scoreboard...plz plz plz help me guys...
Why i am getting it WA. Actually I am confused about considering the submission. That means which will not bring the team in the ranking?? :cry:
Plz help me.........Thank u in advance
Amit
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
class contest
{
int id;
int prob_num;
int ...
Plz help me.........Thank u in advance
Amit
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
class contest
{
int id;
int prob_num;
int ...
- Wed Mar 04, 2009 4:10 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10258 - Contest Scoreboard
- Replies: 87
- Views: 48361
Subimmission count-10258
What will be counted as a "Submission"?
Should I count "E" or "R" as submission??

Should I count "E" or "R" as submission??

- Wed Feb 18, 2009 10:32 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10168 - Summation of Four Primes
- Replies: 51
- Views: 29880
Re: 10168 - Summation of Four Primes
// Plz help me WHY I am getting the Runtime error???
Here is my code------------
Here is my code------------
Code: Select all
deleted after ac