What do you want to save?
Add Code snippet
New code examples
-
Java 2022-03-17 15:10:39
usaco why did the cow cross the road iii silver java
//sample input 3 3 3 2 2 2 3 3 3 3 2 3 3 2 3 3 3 2 2 2 3 //CODE (2021/1/18) YY/MM/DD import java.util.*; import java.io.*; public class Main { static field[][] farm; public static void main(String[] args) throws Exception { Scanner sc = new S... Add solution -
Java 2022-02-24 09:50:04
java comparing-two-csv-files-in-java
import java.io.*; import java.util.ArrayList; /* file1 - file2 = file3*/ public class CompareCSV { public static void main(String args[]) throws FileNotFoundException, IOException { String path="D:\\csv\\"; String file1="file1.csv&... Add solution -
Java 2022-02-01 06:51:33
read lines of file randomly java
import java.io.*; import java.util.*; public class GetLine { public static void main(String[] args) throws FileNotFoundException { System.out.println("Random Line : "+randomLine()); } public static void randomLine() throws FileNotFoun... Add solution -
Java 2022-01-28 01:20:29
check if a string contains a charater java
javaCopyimport java.util.*; import java.lang.*; import java.io.*; public class Example1 { public static void main(String[] args) { String str = "Character"; System.out.println(str.contains("h")); System.ou... Add solution -
Java 2022-01-27 19:11:47
java fast input
// this program gives you fast input, especially for competitive programming import java.util.*; import java.io.*; public class PutYourClassNameHere { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static StringTokeniz... Add solution -
Javascript 2022-01-27 01:16:08
swap nodes algo hackerrank solution
import java.io.*; import java.math.*; import java.text.*; import java.util.*; import java.util.regex.*; public class Solution { /* * Complete the swapNodes function below. */ static class Node { int index; int depth; ... Add solution
Best helpers
Jean Luis
+5
Terry3497
+5
Aown Ali
+5
Ishan Yadav
+5
SunnyHills
+5
Rocky DeHart
+5
Numeri
+5
Martinako
+5
Eve noonan
+5
Cynthia
+5