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 Solvers425
Suggested Problems
-
Determine whether a vector is monotonically increasing
22485 Solvers
-
Find the longest sequence of 1's in a binary sequence.
6607 Solvers
-
1193 Solvers
-
07 - Common functions and indexing 4
419 Solvers
-
531 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!