I have stored my online judge solutions of my own :)
#include<bits/stdc++.h> using namespace std; int main() { long long h , v; while(cin>>h>>v){ if(h<v) swap(h,v); cout<<h-v<<endl; } }
No comments:
Post a Comment