minor fixes

This commit is contained in:
Darren Yao 2020-07-14 14:01:38 -07:00 committed by GitHub
parent 1bd3074c74
commit 52bc9784a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,11 +97,11 @@ while(ax < bx && ay < by){
t++;
}
if(ax == bx && ay == by){ // if they are in the same location
out.println(t); // they meet at time t
pw.println(t); // they meet at time t
} else {
out.println(-1); // they never meet
pw.println(-1); // they never meet
}
out.close(); // flush the output
pw.close(); // flush the output
```
</JavaSection>
@ -190,4 +190,4 @@ pw.close(); // flush the output
### Harder
<problems-list problems={metadata.problems.harder} />
<problems-list problems={metadata.problems.harder} />