Page 1 of 1

886 - Named Extension Dialing

Posted: Mon May 12, 2014 8:49 pm
by brianfry713
Input:

Code: Select all

A A 1000
B B 2000
22
AC output:

Code: Select all

1000 2000

Re: 886 - Named Extension Dialing

Posted: Tue May 13, 2014 7:55 am
by uDebug
brianfry713,

Thanks so much this helpful test case. It's really great.

Also, here are some test cases that helped me test / debug my code.

Input:

Code: Select all

Xanadu Rodriguez 1212
Adalynn Shami 5725
Ama Wang 0001
Medina Baldimitzi 2348
Karina Ralim 6439
Karasha Raikomotso 3197
Kimi Raiko 6788
Ada Wang 0002
57
1211
0001
5725
57254
5724
5724566
97
29264565656565656565
29264
67
AC Output:

Code: Select all

6439 3197 6788
0
0001
5725
6439
3197 6788
3197
1212
0
0001 0002
0

Re: 886 - Named Extension Dialing

Posted: Sun May 18, 2014 8:17 pm
by aerofoil.kite
Getting WA.. Could you plz give me some cases.?

Code: Select all

Removed after AC

Re: 886 - Named Extension Dialing

Posted: Tue May 20, 2014 1:53 am
by brianfry713
Try input:

Code: Select all

A A 1234
12
Output should be 0

Re: 886 - Named Extension Dialing

Posted: Tue May 20, 2014 5:09 pm
by aerofoil.kite

Code: Select all

A A 1234
12
Output: 0
This helps. Thank you, sir