Posts

Showing posts from October, 2020

Java solution for 231A : Codeforces

   Team problem ( 231A ) on codeforces : Java Solution import java.util.Scanner;   public class problem231A  { static Scanner input = new Scanner(System.in); public static void main(String[] args) { int globalCount = 0; int n = input.nextInt();   for(int i=0;i<n;i++) { int sum = 0; for(int j=0;j<3;j++) { // System.out.println(j+" Enter the player num "); sum +=input.nextInt(); } if(sum>1) globalCount++; } System.out.println(globalCount);   } }

A way to long words 71A : codeforces solution in java

Image
 Solution in java for problem 71A codeforces code here

Codeforces watermelon 4A problem solution java

Image
Solution in java for 4A watermelon problem from codeforces.com code here

Popular Posts

java:17: error: local variables referenced from a lambda expression must be final or effectively final count ++ ;

Family Tree Project in Java

Creating basic tic tac toe android app using java