[gcj] Re: Can someone please tell me what is wrong with my code

2018-09-24 Thread Anamika Mathur
I made the following changes and got the right answer. import java.io.*; import java.lang.*; import java.util.Scanner; import java.util.Arrays; class A { public static void main(String args[])throws IOException { Scanner input = new Scanner(System.in); int t =

[gcj] Re: Can someone please tell me what is wrong with my code

2018-09-24 Thread Anamika Mathur
Thanku so much everyone especially ,Jashanpreet Singh and Xiongqi Zhang. Finally got the correct answers for both small and large inputs. -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving

Re: [gcj] Re: Can someone please tell me what is wrong with my code

2018-09-19 Thread Anamika Mathur
Thanku so much again for taking the time and effort. I think to correct my solution I just need to remove the break statement in the else condition to continue checking the next yogurt till full. I did do that and am still getting incorrect answer. import java.io.*; import java.lang.*; import

Re: [gcj] Can someone please tell me what is wrong with my code

2018-09-18 Thread Anamika Mathur
I know. Sorry I forgot to mention the question. This is KIckstart 2018 Round E. Question A.Yogurt https://code.google.com/codejam/contest/4394486/dashboard -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and

[gcj] Can someone please tell me what is wrong with my code

2018-09-17 Thread Anamika Mathur
import java.io.*; import java.lang.*; import java.util.Scanner; import java.util.Arrays; class A { public static void main(String args[])throws IOException { Scanner input = new Scanner(System.in); int t = input.nextInt(); int x; for(x=1;x<=t;x++){

[gcj] Re: Getting "Runtime error" as result but don't have a clue why.

2018-04-10 Thread Anamika Mathur
You are not checking for "WRONG_ANSWER" condition -- 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 google-code+unsubscr...@googlegroups.com. To post to this

[gcj] I got runtime errors for my solution but have no idea what is wrong with it.

2018-04-06 Thread Anamika Mathur
import java.util.*; //codejam 2018 practice round Question C:Speed 2 class Horse{ public static void main(String args[]) { Scanner sc=new Scanner(System.in); int t=0; while(sc.hasNextInt()) { t=sc.nextInt(); break; }

Permissions of repository

2002-02-20 Thread anamika mathur
Dear Friends, Is it possible to have read/write access to specific files and directories in the repository using CVS for various users?I have a requirement that certain directories should be writable by user A but user A should have only read access for remaining directories in the

symbolic links

2002-02-20 Thread anamika mathur
Hi All, Does cvs support symbolic links(unix) ??? Regards, Anamika __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com ___ Info-cvs mailing list [EMAIL

Some commiting problems

2002-01-31 Thread anamika mathur
Dear friends, I am getting certain error messages when i commit files. The error messages are as follows:- Value too large for defined data And sometimes the above error message is accompanied with Permission denied for readers. Any idea what is the problem?

Deletion of directory

2002-01-30 Thread anamika mathur
Dear Friends, If a directory needs to be removed from the repository, what is the procedure to do it? Is it safe to directly remove the directory from the repository, if we know that it will be no longer reqd in future. If no, what all problems it can create if we directly delete the

Binary files

2002-01-30 Thread anamika mathur
Dear Friends, What all things we should keep in mind while using binary files in cvs? 1 if a file has been added in the repository directory without using import -kb option. How can we stop the keyword subsitution and canonical endings in these files? 2 if we have imported a binary