Skip to content

Commit 49b2af7

Browse files
Done
1 parent f58d51e commit 49b2af7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/5_Plat/Geo_Pri.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ int main() {
374374
long long boundary_points = 0;
375375
for (int i = 0; i < n; i++) {
376376
Point diff = points[i + 1] - points[i];
377-
int g = __gcd(abs(diff.x), abs(diff.y));
377+
int g = gcd(abs(diff.x), abs(diff.y));
378378
boundary_points += g;
379379
}
380380
long long interior_points = (area - boundary_points) / 2 + 1;

0 commit comments

Comments
 (0)