Test case for Catch Me If You Can

Dev Skill archived problems can be discussed here.

Test case for Catch Me If You Can

by aiubian » Wed May 25, 2016 3:18 pm

I am getting WA for this problem "Catch Me If You Can". I need some complex test case for that.


Any help ?
 
Posts: 6
Joined: Wed May 25, 2016 3:16 pm

Re: Test case for Catch Me If You Can

by devskill » Thu Jul 21, 2016 7:51 am

Try this:

Input:
Code: Select all
15
3 2 1 1
3 2 1 2
3 3 0 0
3 3 0 1
2 4 2 2
42 68 34 0
70 25 78 58
63 65 5 45
82 28 61 91
96 43 27 36
92 5 2 53
93 83 21 16
19 96 47 26
72 39 69 12
68 100 35 94


Output:
Code: Select all
Case 1: Abir will survive
Case 2: Abir will be arrested
Case 3: Abir will survive
Case 4: Abir will be arrested
Case 5: Abir will survive
Case 6: Abir will survive
Case 7: Abir will be arrested
Case 8: Abir will survive
Case 9: Abir will be arrested
Case 10: Abir will be arrested
Case 11: Abir will be arrested
Case 12: Abir will be arrested
Case 13: Abir will survive
Case 14: Abir will be arrested
Case 15: Abir will survive
User avatar
Site Admin
 
Posts: 118
Joined: Tue Feb 02, 2016 10:24 pm


Who is online
Users browsing this forum: No registered users and 1 guest
cron