leetcodeSolution to some Leetcode problems written in C++ |
git clone git://git.dimitrijedobrota.com/leetcode.git |
Log | Files | Refs | README | LICENSE | |
1227.cpp (98B)
1 class Solution { 2 public: 3 double nthPersonGetsNthSeat(int n) { return n == 1 ? 1 : 0.5; } 4 };