Skip to content

Commit

Permalink
fix: refine problems
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Sep 26, 2024
1 parent bdc344b commit 99f0242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/problems/problemData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ s.set('x', 0);
s.set('y', 100);
for (s.set('i', <4-5>); s.get('i') > 0; s.set('i', s.get('i') - 1)) {
s.set('x', s.get('x') + s.get('i'));
s.set('y', s.get('y') + s.get('i'));
s.set('y', s.get('y') - s.get('i'));
}
delete s.vars['i'];
s.set('x', s.get('x') / 4);
Expand All @@ -987,7 +987,7 @@ public class Main {
int y = 100; // sid
for (int i = <4-5>; i > 0; i--) { // sid
x += i; // sid
y += i; // sid
y -= i; // sid
}
x /= 4; // sid
y /= 5; // sid
Expand Down

0 comments on commit 99f0242

Please sign in to comment.