Search found 2 matches

by emrankdr
Mon Jun 29, 2015 7:30 am
Forum: Volume 112 (11200-11299)
Topic: 11244 - Counting Stars
Replies: 21
Views: 14036

Re: 11244 - Counting Stars

Why my code is showing runtime error? Please help


import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
*
* @author emran.kdr
*/
class Main{

static char A ...
by emrankdr
Mon Dec 22, 2014 9:47 am
Forum: Volume 101 (10100-10199)
Topic: 10192 - Vacation
Replies: 58
Views: 23978

Re: 10192 - Vacation

Why my code is returning compile error after submission? Please help.

My code is given below:
import java.io.IOException;
import java.util.Scanner;
public class Main {
public int lcs(String str1, String str2) {

int l1 = str1.length();

int l2 = str2.length();

int[][] arr = new int[l1 + 1][l2 ...

Go to advanced search