Changed the N to self.N in show_data in segment_tree.py (#11276)

This commit is contained in:
Marco-campione-github 2024-05-31 10:11:09 +02:00 committed by GitHub
parent 82aa909db7
commit b8afb214f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,7 +98,7 @@ class SegmentTree:
def show_data(self): def show_data(self):
show_list = [] show_list = []
for i in range(1, N + 1): for i in range(1, self.N + 1):
show_list += [self.query(i, i)] show_list += [self.query(i, i)]
print(show_list) print(show_list)