Tag: Sieve of Eratosthenes

C# – Algorithm – Bear And Prime, Interactive Problem in CodeForces – Part 2

In Part 1 here I have shown the code that gives full points in the interactive CodeForces.Com problem for Bear And Prime.The trick is that writing hard-coded values in a code is really far away from a good practice in

Tagged with: , ,

VBA – Function in Excel to check prime numbers

Prime Numbers Excel Function Prime numbers are numbers, divisible by themselves. In the current example I simply made an Excel VBA function telling us whether a number is prime or not. It works as a charm 🙂 Check the prime numbers between

Tagged with: , , , , ,
Top