# DCP-33: Catch Me If You Can Back to All Problems

Anindya and Abir are best buddies . They are very good programmers . Besides that, they have hidden Identity . Anindya is an undercover super cop and Abir is a real life robin hood but is a dangerous robber in the eye of law . Abir robs black money from rich people and give it back to the poor . As Abir is a very good programmer , he uses all types of modern instruments and never left any evidence of the crime scene . So unless Anindya catches Abir in red handed , he can’t prove anything against him . Unfortunately , today Abir makes a mistake and Anindya is behind him . But Abir has an invincible watch same as like the movie “Mr India” . Whenever he presses his invincible watch it needs some time say T to active and then Abir becomes invincible and no one able to catch him . Anindya has a constant velocity **v1 ( 1 <= v1 <= 100 )** and Abir has a constant velocity **v2 ( 1 <= v2 <= 100 )** and distance between them is right now **d ( 0 <= d <= 100 )** . Abir needs **T ( 0 <= T <= 100 )** time to active his invincible watch . Can you tell us what will happen to Abir ? If Abir can survive this T seconds then there is no way Anindya can catch Abir . For this scenario you need to print “Abir will survive” otherwise print “Abir will be arrested” Input: ------ Input starts with an integer **TC ( TC <= 100 )** denoting number of test cases . Each of them consists of four integers **v1** ( Anindya’s constant velocity ) , **v2** ( Abir’s constant velocity ) , **d** ( Distance between Abir and Anindya ) , **T** ( Time to active the invincible watch ) Output: ------- For each test case first print the case number “**Case %d:** ” then print “Abir will survive” if Abir able to escape from Anindya otherwise print “Abir will be arrested”. Sample Input ------------ 2 3 2 1 1 3 2 1 2 Sample Output ------------- Case 1: Abir will survive Case 2: Abir will be arrested

### Problem Limits

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

# 82/577

Solve/Submission

### Ranking

# User Language Timing
01 jalal Cpp 0.00s
02 MAHRahat Cpp14 0.00s
03 Saimum_140128 Cpp14 0.00s
04 Nazmul0092 Cpp 0.00s
05 haasib Cpp14 0.00s
06 emrul Cpp14 0.00s
07 maxhasan Cpp14 0.00s
08 gazi93 Cpp14 0.00s
09 lazyfahim Cpp14 0.00s
10 joy25896 Cpp14 0.00s
11 deder Cpp14 0.00s
12 mahbub07 Cpp14 0.00s
13 Dragon_162 Cpp14 0.00s
14 HM39 Cpp14 0.00s
15 gsshanto Cpp14 0.00s
17 lolcoder Cpp14 0.00s
18 sumaiya710 C 0.00s
19 Alamgir_1604069 C 0.00s
20 CSE1604085_nishan Cpp 0.00s
21 jualahmed Cpp14 0.00s
22 terminator_c Cpp14 0.00s
23 jayed_al_hasan Cpp14 0.00s
24 Sabiha_1604070 C 0.00s
25 opu1604073 C 0.00s
26 CSE1604084_Mahir C 0.00s
27 skrasel126 Cpp14 0.00s
28 soumitro_cse1604114 Cpp14 0.00s
29 Tuli_93 C 0.00s
30 Anika_Bushra Cpp14 0.00s
31 mahathir Cpp14 0.00s
32 ashish_pondit Cpp 0.00s
33 1604099_ishtiaq Cpp14 0.00s
34 1604110 C 0.00s
35 tanhakabir Cpp14 0.00s
36 1604118 Cpp14 0.00s
37 esha1604103 Cpp14 0.00s
38 joymollick C 0.00s
39 Frdhsn C 0.00s
40 Afif_Fahim C 0.00s
41 Morass Cpp14 0.00s
42 1604056_nizam C 0.00s
43 Rahnuma1604103 Cpp14 0.01s
44 ammasum Cpp14 0.01s