Master the Primality Test with C++: Solve Problem 25 on CodeChef ๐
Learn how to efficiently implement a primality test in C++ by solving Problem 25 on CodeChef's Beginner platform. Perfect for beginners looking to strengthen their coding skills!

CodePurpose
164 views โข Jul 31, 2020

About this video
In this video we are going to solve problem 25 of CodeChef's Beginner problems (Primality Test).
Check it out on CodeChef's website: https://www.codechef.com/problems/PRB01
Problem:
Alice and Bob are meeting after a long time. As usual they love to play some math games. This times Alice takes the call and decides the game. The game is very simple, Alice says out an integer and Bob has to say whether the number is prime or not. Bob as usual knows the logic but since Alice doesn't give Bob much time to think, so Bob decides to write a computer program.
Help Bob accomplish this task by writing a computer program which will calculate whether the number is prime or not.
For source code of this and all other problems in this playlist follow this link to our website: https://codepurpose.net/courses/codechef-beginner/26596-27138
Also make sure you follow us on social media.
Instagram: https://www.instagram.com/implementing.algorithm/
Facebook: https://www.facebook.com/implementing.algorithm
Check it out on CodeChef's website: https://www.codechef.com/problems/PRB01
Problem:
Alice and Bob are meeting after a long time. As usual they love to play some math games. This times Alice takes the call and decides the game. The game is very simple, Alice says out an integer and Bob has to say whether the number is prime or not. Bob as usual knows the logic but since Alice doesn't give Bob much time to think, so Bob decides to write a computer program.
Help Bob accomplish this task by writing a computer program which will calculate whether the number is prime or not.
For source code of this and all other problems in this playlist follow this link to our website: https://codepurpose.net/courses/codechef-beginner/26596-27138
Also make sure you follow us on social media.
Instagram: https://www.instagram.com/implementing.algorithm/
Facebook: https://www.facebook.com/implementing.algorithm
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
164
Likes
3
Duration
8:47
Published
Jul 31, 2020
Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now