Got Ac now ... I just added try catch in input getting part ... There seems to be some extra character in end of input ....
I did this and got AC . :lol: try{
s=get();
if(s.equals(""))
break;
String ss[]=s.split(" ");
n=Integer.valueOf(ss[0]);
m=Integer.valueOf(ss[1]);
}
catch(Exception ...
Search found 2 matches
- Tue May 27, 2008 1:22 am
- Forum: Volume 101 (10100-10199)
- Topic: 10139 - Factovisors
- Replies: 80
- Views: 42053
- Tue May 27, 2008 12:52 am
- Forum: Volume 101 (10100-10199)
- Topic: 10139 - Factovisors
- Replies: 80
- Views: 42053
Am Getting RE
Am new here . pls help. I dont know why I am getting Runtime Error for the following code : I checked the test cases of nesqi and dumb dan . Code Working well on those cases.
import java.io.*;
import java.util.*;
class Main
{
DataInputStream in;
int prime[],pow[],len;
int valval[][];
int max ...
import java.io.*;
import java.util.*;
class Main
{
DataInputStream in;
int prime[],pow[],len;
int valval[][];
int max ...