Data Structures & AlgorithmsHardGATE CS · ICPC regional
How many positive divisors of 360 are odd?
- A. 6
- B. 7
- C. 8
- D. 10
Correct answer: A. 6
Odd divisors are the divisors of the odd part of 360, which is 45 = 3^2 * 5 with 3 * 2 = 6 divisors.
Practise more Arrays, Strings, Linked Lists, Stacks, Queues and Hashing questionsArrays, Strings, Linked Lists, Stacks, Queues and Hashing: notes and key points
More Arrays, Strings, Linked Lists, Stacks, Queues and Hashing questions
- What is the largest n such that 1 + 2 + ... + n does not exceed 1000?
- How many primes p with 2 <= p <= 30 satisfy p ≡ 1 (mod 4)?
- How many integers x in [1, 100] satisfy x ≡ 3 (mod 4) and x ≡ 7 (mod 10)?
- What is 2^100 mod 9?
- A 12-hour clock shows 1:30 p.m. Ignoring seconds, what hour (1 to 12) is shown 500 minutes later?
- Starting at x = 1, repeatedly apply x -> 3x mod 11. How many steps are needed to return to 1?