User Tools

Site Tools


My Solutions to Various HackerEarth Problems

Problem 1: NoNumbers Print the numbers from 70 to 80, without using any numbers.

Problem 2: NoNumbers 420 Print the number 420 without using any numbers.

Problem 3: Count Divisors Given 3 integers: l, r and k. Find how many numbers between l and r (both inclusive) are divisible by k. Print on the same line.

Problem 4: Prime Numbers Find all the prime numbers between 1 and a user number.

wiki/solutions.txt · Last modified: 2019/08/10 14:57 by