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

200/1002

Solve/Submission

Ranking

# User Language Timing
01 inam Cpp 0.00s
02 SakibAlamin Cpp14 0.00s
03 sk23 Cpp 0.00s
04 DynamicOvi Cpp 0.00s
05 anik_JU Cpp 0.00s
06 susmoys Cpp 0.00s
07 Asif_Mohammad Cpp 0.00s
08 shishir09 Cpp14 0.00s
09 Riaz_BSMRSTU Cpp 0.00s
10 Masum_ice Cpp 0.00s
11 Zihad C 0.00s
12 yasirnabil534 Cpp 0.00s
13 iammarajul Cpp 0.00s
14 Anubis Cpp 0.00s
15 Sayma_COU Cpp 0.00s
16 unknown420 Cpp 0.00s
17 ss1230 Cpp14 0.00s
18 nymphaea Cpp 0.00s
19 Shadin Cpp14 0.00s
20 pulak_ict_mbstu Cpp 0.00s
21 Satkhira Cpp 0.00s
22 fuad036 Cpp14 0.00s
23 Dragon_Curve Cpp 0.00s
24 shakil2021 Cpp 0.00s
25 RAJ0RSHI Cpp 0.00s
26 muradhossen Cpp 0.00s
27 Mr_KAJOL Cpp 0.00s
28 leenaiitju C 0.00s
29 rafi4203 Cpp 0.00s
30 Abid_Hasan Cpp 0.00s
31 MRITuhin Cpp 0.00s
32 akashkumar2 C 0.00s
33 Tufahel Cpp 0.00s
34 Sakib1061 Cpp 0.00s
35 SAIF_IIT8_JU C 0.00s
36 srsohan C 0.00s
37 Khayrul_34 Cpp 0.00s
38 desh_chowdhury C 0.00s
39 rayhan50001 Cpp14 0.00s
40 rayhan95 Cpp 0.00s
41 JubayerSohel Cpp14 0.00s
42 ikaadil Cpp 0.00s
43 MobileBladder Cpp 0.00s
44 milon019 C 0.00s
45 Sohelr360 C 0.00s
46 afridi13 Cpp 0.00s
47 Riz1ahmed Cpp 0.00s
48 faraz C 0.00s
49 MNIR Cpp 0.00s
50 Aminul_Islam_IU C 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support