DCP-500: Wink or Kick Back to All Problems

Easy Beginners Problems > Ad-hoc

Some days ago a wink has gone viral on the internet. Your girlfriend **Ms. Kaani** somehow managed to learn that special wink. She promised to give you that wink if you buy an expensive gift for her. But Ms. Kaani wants you to buy such a gift whose price will be divisible by a certain number which she will provide. If you are able to complete this task she will gift you that special wink. Otherwise, she will give you her special kick. Now you have to decide what should you get? Input: ------ Input starts with an integer **T** which denotes the test cases. Each of the next **T** lines will contain two integers **A** and **B**, where **A** denotes the price of the gift you bought for Ms. Kaani and **B** denotes the number provided by Ms. Kaani. Constraints: ----- 1<=**T**<=1000<br> 0<=**A, B**<=10^10 Output: ------- If you are able to complete the task described above you need to print “**:wink:**” (without quotes) otherwise you need to print “**:kick:**” ( without quotes ). See the samples for proper formatting. Sample Input ------------ 2 4 2 4 3 Sample Output ------------- :wink: :kick:

Problem Setter:

Avik Sarkar

Please login to submit solution to this problem.

Problem Limits

Language Time Limit (seconds)
C 1.00
C++ 1.00
C++14 1.00
C# 1.00
Go 2.00
Java 2.00
JavaScript 2.00
Objective-C 2.00
Perl 2.00
PHP 2.00
Python 1.00
Python3 1.00
Ruby 2.00
VB.Net 2.00

Problem Stats




# User Language Timing
01 Sakib1061 Cpp 0.00s
02 tariqiitju Cpp 0.00s
03 Nur_Alam39 Cpp 0.00s
04 Masum_ice Cpp 0.00s
05 rafi4203 Cpp 0.00s
06 MRITuhin Cpp 0.00s
07 shishir09 Cpp14 0.00s
08 Dragon_Curve Cpp 0.00s
09 rayhan50001 Cpp14 0.00s
10 wizard Cpp 0.00s
11 ririyad Cpp 0.00s
12 yasirnabil534 Cpp 0.00s
13 Aminul_Islam_IU C 0.00s
14 pulak_ict_mbstu Cpp 0.00s
15 Anubis Cpp 0.00s
16 Masud67 Cpp 0.00s
17 feodorv C 0.00s
18 anik_JU Cpp 0.00s
19 Riad_IIT7 Cpp14 0.00s
20 Freaky_Weirdo Cpp 0.00s
21 Mr_KAJOL Cpp 0.00s
22 Indrjit_BU Cpp 0.00s
23 Chayti_Saha98 Cpp14 0.00s
24 leenaiitju C 0.00s
25 nymphaea Cpp 0.00s
26 JubayerSohel Cpp14 0.00s
27 Ruhul1975 Cpp 0.00s
28 inam Cpp 0.00s
29 ss1230 Cpp14 0.00s
30 susmoys Cpp 0.00s
31 Sayma_COU Cpp 0.00s
32 terminator_c Cpp 0.00s
33 unknown420 Cpp 0.00s
34 monir769 Cpp14 0.00s
35 Khayrul_34 Cpp 0.00s
36 SakibAlamin Cpp14 0.00s
37 DynamicOvi Cpp 0.00s
38 milon019 C 0.00s
39 MobileBladder Cpp 0.00s
40 iammarajul Cpp 0.00s
41 rajunahidhasan0 Cpp14 0.00s
42 fuad036 Cpp14 0.00s
43 monir_18 Cpp 0.00s
44 RAJ0RSHI Cpp 0.00s
45 Tufahel Cpp 0.00s
46 wajiul Cpp 0.00s
47 shakil2021 Cpp 0.00s
48 muradhossen Cpp 0.00s
49 Riaz_BSMRSTU Cpp 0.00s
50 shuvo_mbstu Cpp 0.00s

Your feedback is our precious!

Or call +88 02 9853138 for support