Skip to content

Commit b7725ab

Browse files
committed
Runtime: 0 ms (Top 100.00%) | Memory: 6 MB (Top 31.29%)
1 parent e40ae5b commit b7725ab

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
// Runtime: 0 ms (Top 100.00%) | Memory: 6 MB (Top 31.29%)
12
class Solution {
23
public:
3-
double nthPersonGetsNthSeat(int n) {
4-
if(n==1)return (double)1;
5-
return (double)1/2;
6-
}
4+
double nthPersonGetsNthSeat(int n) {
5+
if(n==1)return (double)1;
6+
return (double)1/2;
7+
}
78
};

0 commit comments

Comments
 (0)