Should the program prevent input like: A3--5,9-01
??
Is it allowed that the problemset's name contains more than 1 character ?
What to do with things like: A35,9-01,A-Z-9
??
>And then convert it back to char with itoa()
itoa() is non-standard.