Search found 4 matches

by Aurango
Fri Mar 28, 2014 11:28 pm
Forum: Volume 1 (100-199)
Topic: 195 - Anagram
Replies: 242
Views: 58289

Re: 195 - Anagram?? why wrong answer???

Sry,i dnt get anything.. :(
by Aurango
Fri Mar 28, 2014 1:26 pm
Forum: Volume 1 (100-199)
Topic: 195 - Anagram
Replies: 242
Views: 58289

195 - Anagram?? why wrong answer???

my code for UVA 195 problem run well but showing wrong answer in uva online judge..plz help???

import java.io.IOException;
import java.util.Arrays;
import java.util.Scanner;

class Main {

public static void main(String[] args)throws IOException {

Scanner sc=new Scanner(System.in);
int test ...
by Aurango
Fri Mar 28, 2014 1:07 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 116796

Re: why runtime error !!!! uva 102

brianfry713 wrote:You need to stop reading the input at EOF.
You could try checking for Scanner.hasNextInt()
Tnx,it works for me :D
by Aurango
Sun Mar 23, 2014 2:16 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 116796

why runtime error !!!! uva 102

import java.io.IOException;
import java.util.*;

/**
*
* @author AURANGO SABBIR
*/
class Main {

/**
* @param args the command line arguments
*/
public static void main(String[] args) throws IOException {
// TODO code application logic here
Scanner sc=new Scanner(System.in);
int[] bin1 ...

Go to advanced search