Skip to content

Commit a5a8a47

Browse files
committed
Fixed style
1 parent 5dc472e commit a5a8a47

File tree

1 file changed

+5
-2
lines changed
  • src/main/java/g2701_2800/s2747_count_zero_request_servers

1 file changed

+5
-2
lines changed

src/main/java/g2701_2800/s2747_count_zero_request_servers/Solution.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ public int[] countServers(int n, int[][] logs, int x, int[] queries) {
1717
Arrays.sort(qarr, (a, b) -> a[1] - b[1]);
1818
int[] ans = new int[m];
1919
int[] freq = new int[n + 1];
20-
int l = 0, r = 0, noReq = n;
20+
int l = 0;
21+
int r = 0;
22+
int noReq = n;
2123
for (int[] q : qarr) {
22-
int i = q[0], t = q[1];
24+
int i = q[0];
25+
int t = q[1];
2326
while (r < len && logs[r][1] <= t) {
2427
if (freq[logs[r][0]]++ == 0) {
2528
noReq--;

0 commit comments

Comments
 (0)