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