1227.cpp (98B)
1 class Solution { 2 public: 3 double nthPersonGetsNthSeat(int n) { return n == 1 ? 1 : 0.5; } 4 };