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 rayhan50001 Cpp14 0.00s
09 wizard Cpp 0.00s
10 ririyad Cpp 0.00s
11 yasirnabil534 Cpp 0.00s
12 Dragon_Curve Cpp 0.00s
13 Aminul_Islam_IU C 0.00s
14 pulak_ict_mbstu Cpp 0.00s
15 Masud67 Cpp 0.00s
16 Anubis Cpp 0.00s
17 Indrjit_BU Cpp 0.00s
18 feodorv C 0.00s
19 anik_JU Cpp 0.00s
20 Riad_IIT7 Cpp14 0.00s
21 Freaky_Weirdo Cpp 0.00s
22 Mr_KAJOL Cpp 0.00s
23 Chayti_Saha98 Cpp14 0.00s
24 leenaiitju C 0.00s
25 nymphaea Cpp 0.00s
26 inam Cpp 0.00s
27 ss1230 Cpp14 0.00s
28 susmoys Cpp 0.00s
29 Sayma_COU Cpp 0.00s
30 JubayerSohel Cpp14 0.00s
31 Ruhul1975 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 DynamicOvi Cpp 0.00s
37 MobileBladder Cpp 0.00s
38 iammarajul Cpp 0.00s
39 milon019 C 0.00s
40 SakibAlamin Cpp14 0.00s
41 rajunahidhasan0 Cpp14 0.00s
42 fuad036 Cpp14 0.00s
43 monir_18 Cpp 0.00s
44 RAJ0RSHI Cpp 0.00s
45 RJ_JU Cpp 0.00s
46 Tufahel Cpp 0.00s
47 wajiul Cpp 0.00s
48 shakil2021 Cpp 0.00s
49 muradhossen Cpp 0.00s
50 Riaz_BSMRSTU Cpp 0.00s

Your feedback is our precious!

Or call +88 02 9853138 for support