Search found 1 match
- Fri Jul 16, 2021 12:37 pm
- Forum: Test Forum
- Topic: Number Theory
- Replies: 1
- Views: 8962
Number Theory
Question:- How many numbers are there between 1 to 1000 which can be expressed by the difference of two square numbers? Pls help to solve it.i have used brute force but getting wrong answer:( Here is my Code in C++ The output is 327,as there is repetition i have used set to store the unique numbers ...