CS106B Perfect numbers
This warmup task gives you practice with C++ expressions, control structures, and functions, as well as testing and debugging your code. Throughout the writeup, we pose thought questions (in the highlighted yellow boxes) for you to answer. The starter project includes the file short_answer.txt (located under "Other Files" in the Qt Project pane). Edit this file to fill in your responses and submit it with your code. Your section leader will review your responses as part of grading. We'll be evaluating the sincerity and thoughtfulness of your reflection and reasoning; not a rigid "right/wrong" thing. This exercise explores a type of numbers called perfect numbers. Before we jump into the coding, let's begin with a little math and history. A perfect number is an integer that is equal to the sum of its proper divisors. A number's proper divisors are those positive numbers that evenly divide it, excluding itself. The first perfect number is 6 because its proper divisors are 1, 2, and 3, an
CS106B Perfect numbers Perfect numbers Assignment written by Julie Zelenski This warmup task gives you practice with C++ expressions, control structures, and functions, as well as testing and debugging your code. Throughout the writeup, we pose thought questions (in the highlighted yellow boxes) for you to answer. The starter project includes the file short_answer . txt (located under "Other Files" in the Qt Project pane). Edit this file to fill in your responses and submit it with your code. Your section leader will review your responses as part of grading. We'll be evaluating the sincerity a
related reading
- Competitive Programmer's Handbookcses.fi
- List of Mersenne primes and perfect numbers - Wikipediaen.wikipedia.org
- abseil / Performance Hintsabseil.io
- Algorithms for Modern Hardware - Algorithmicaen.algorithmica.org
- Fantastic Learning Resourcesmatklad.github.io
- Archived Problems - Project Eulerprojecteuler.net
- HackerRank - Online Coding Tests and Technical Interviewshackerrank.com
- Do YOU know how much your computer can do in a second?computers-are-fast.github.io
- Structure and Interpretation of Computer Programsmitp-content-server.mit.edu
- What's new | Updates on my research and expository papers, discussion of open problems, and other maths-related topics. By Terence Taoterrytao.wordpress.com
- On Leetcodeplanetbanatt.net
- LeetCode-Solutions/0001-1000.md at master · Holychung/LeetCode-Solutionsgithub.com