Can you tell me what is the url of problem ?
On Fri, Apr 11, 2014 at 5:25 AM, ratikanta pal <[email protected]>wrote: > public static void main(String[] args) { > long startTime = System.currentTimeMillis(); > Reader reader; > String inp[] = null; > StringBuilder builder = new StringBuilder(); > int temp = 0; > try { > reader = new FileReader( > "test.in"); > BufferedReader bufReader = new > BufferedReader(reader); > inp = new String[Integer.parseInt(new > String(bufReader.readLine()))+1]; > while ((inp[temp++]=bufReader.readLine()) != null) > { > } > File file = new File( > "test.out"); > FileWriter writer = new FileWriter(file); > char arrTemp[]=null; > for (int i = 0; i < inp.length; i++) { > if(inp[i] != null ) > { > arrTemp = inp[i].toCharArray(); > } > else > break; > builder.append("Case #" + (i + 1) + ": " + > builder); > for (int j = 0; j < arrTemp.length; j++) { > > builder.append(getReplacement(arrTemp[j])); > } > writer.write(builder.toString() + "\n"); > builder = new StringBuilder(); > } > writer.close(); > } catch (FileNotFoundException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } catch (IOException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } > > } > > Hi.This is my main program.I am not able get it why its rejecting while > submitting in code jam. > > This error shows: > > Submission for input A-small Rejected: Your output file contains 0 test > cases instead of the expected 30. > You can learn more about rejections like this in our FAQ > > -- > You received this message because you are subscribed to the Google Groups > "Google Code Jam" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-code/e83018f6-6058-4e67-8329-43422b4e107e%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- *Atte* : *Wilber Torres* *Phone* : *+51940170199* [ Ziklon - WInfTc ] -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/CALVtSNqpGO%2Bnqhz%2BpiMBxM9dxjWLkZgjaiBkR--7SOOr%3D%2B82_A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
