রবিবার, ২৮ আগস্ট, ২০১৬

UVA 408 - Uniform Generator again

///...................SUBHASHIS MOLLICK....................///
///.....DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING....///
///.............ISLAMIC UNIVERSITY,BANGLADESH.............///
///.....................SESSION-(14-15)....................///
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<algorithm>
#include<ctype.h>
#include<bits/stdc++.h>
using namespace std;
main()
{
      long long a,b;
      while(cin>>a>>b)
      {
            long long k=__gcd(a,b);
            if(k==1)printf("%10lld%10lld    Good Choice\n\n",a,b);
     else printf("%10lld%10lld    Bad Choice\n\n",a,b);
      }
}

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন

Factory Pattern

Factory Method  is a creational design pattern that provides an interface for creating objects in a superclass but allows subclasses to alte...