Skip to content

Commit daea53c

Browse files
authored
Update 0997-find-the-town-judge.kt
1 parent cff07aa commit daea53c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kotlin/0997-find-the-town-judge.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ class Solution {
33
val delta = IntArray (n + 1)
44

55
for ((src, dst) in trust) {
6-
delta[i]++
7-
delta[o]--
6+
delta[dst]++
7+
delta[src]--
88
}
99

1010
for (i in 1..n) {

0 commit comments

Comments
 (0)