Problem 509. Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total number of pictures.
Solution Stats
Problem Comments
-
1 Comment
Pritesh Shah
on 2 Aug 2014
Good One:))
Solution Comments
Show commentsProblem Recent Solvers399
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
47596 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1700 Solvers
-
Check to see if a Sudoku Puzzle is Solved
319 Solvers
-
Project Euler: Problem 5, Smallest multiple
1273 Solvers
-
430 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!