https://devskill.com/CodingProblems/ViewProblem/500
#include<bits/stdc++.h>
using namespace std;
int main()
{
unsigned long long int A,B;
int t;
scanf("%d",&t);
while(t--)
{
cin>>A>>B;
if(B==0)
{
printf(":kick:\n");
}
else if(A%B==0)
{
printf(":wink:\n");
}
else
{
printf(":kick:\n");
}
}
return 0;
}
No comments:
Post a Comment