Startup and Tech
Friday, 24 July 2020
Codeforces 266A Solution - Stones on the Table Problem Solution In Java
Program
import java.util.*; public class x { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String s = sc.next(); int i=0,temp=0,cnt=0; char ch[] = s.toCharArray(); if(s.length()==n) { for(i=0;i
Output
I/P: -------- 3 RRG -------- O/P: -------- 1
Codeforces 281A Solution - Word Capitalization Solution In Java
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment