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 Solvers430
Suggested Problems
-
Back to basics 8 - Matrix Diagonals
961 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
580 Solvers
-
Return the first and last characters of a character array
11764 Solvers
-
Create a vector whose elements depend on the previous element
779 Solvers
-
521 Solvers
More from this Author99
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!