Startup and Tech
Monday, 20 July 2020
Codeforces 231A - Team 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(); int cnt = 0; for(int i=0;i
=2) { cnt++; } } System.out.println(cnt); } }
Output
I/P 3 1 1 0 1 1 1 1 0 0 O/P 2
Codeforces 1328A - Divisibility Problem Solution In Python-
https://www.techrcoding.com/2020/07/codeforces-1328a.html
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment