Tags - CodeChef Discuss
basic-maths-using-python x 1. anadsw x 1. mancode x 12. fash03 x 8. freeq x ... codechef-code-of-conduct x 3. the-cheating-cases-saga x 1. cheating-case-saga ...
basic-maths-using-python x 1. anadsw x 1. mancode x 12. fash03 x 8. freeq x ... codechef-code-of-conduct x 3. the-cheating-cases-saga x 1. cheating-case-saga ...
Hi my code in java For the problem birthday candle is List<Integer> myList = new ArrayList<Integer>(); for (String str : stringArr) { myList.add(Integer.parseInt(str.trim()))
And Codeforces does not give any advantages to python solutions over c++ solution like other platforms do(CodeChef, HackerEarth etc.) For experiment… Try to run simple loop in python and in c++ and check how much time It will take to run…
haven’t done this problem but i noticed you’re using scanner/system output. for some problems in java you will get TLE unless u process the i/o faster, so you should get in the habit of using BufferedReader and BufferedWriter. example: import java.io.*
Hi, Can you please explain the reason behind it because if in ide I run this code it prints true. ArrayList<Integer> al=new ArrayList(); al.add(1); al.add(1); if(al.get(1)==al.get(0)) System.out.println("True"); else System.out.println("False")