I solved one problem in my second round!
However I got only -50 points in the round.
I got +225 rating change,awesome!
(I used shared document to cheat again!!!)
I am so orz.
my code:
include<bits/stdc++.h>
using namespace std; int main(){ int T; cin>>T; while(T--){ int x,y; cin>>x>>y; if(y==x+1||((x>y)&&((x-y+1)%9==0))) puts("YES"); else puts("NO"); } return 0; }
Please use Markdown properly. You can add
```
before and after your code.okay downvoted
Thanks for the downvote! Now can you help me understand how unformatted code improves the post?
okay downvoted again
upvote me