UVa 11530

From Algorithmist
Jump to navigation Jump to search

11530 - SMS Typing[edit]

Summary[edit]

A straight forward simulation problem.

Explanation[edit]

A straight forward simulation problem.

Gotchas[edit]

  • Read the input carefully, refer to the input below.

Solutions[edit]

Input[edit]

5

welcome to ulab
good luck and have fun
abcdefghijklmnopqrstuvwxyz
  a

Output[edit]

Case #1: 0
Case #2: 29
Case #3: 41
Case #4: 56
Case #5: 3