Kattis Problem: Faktor

Problem Link:


Sample Solution

import java.util.Scanner;
public class Faktor {

public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt(), i = sc.nextInt();
int x = a * i;
while (((double) --x / a) > i - 1) {

About Sonam Dargay 79 Articles
Kuzu Zangpo la! I am Sonam Dargay, a student in the College of Science and Technology affiliated to The Royal University of Bhutan. I am a tech enthusiast student, studying Bachelor of Engineering in Information Technology.