Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- #define ll long long
- #define nl "\n"
- void files(){
- ios_base::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL);
- #ifndef ONLINE_JUDGE
- freopen("input.txt", "r", stdin), freopen("output.txt", "w", stdout);
- #endif
- }
- void solve(){
- ll r, c, a, b;
- cin>>r>>c>>a>>b;
- if(r>c){
- cout<<"YES"<<nl;
- return;
- }else if(r<=c){
- cout<<"NO"<<nl;
- return;
- }
- }
- int main(){
- files();
- int t = 1;
- cin>>t;
- for(int i=1; i<=t; i++){
- cout<<"Case #"<<i<<": ";
- solve();
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement