JOIN
Get Time
forums   
Search | Watch Thread  |  My Post History  |  My Watches  |  User Settings
View: Flat  | Threaded  | Tree
Previous Thread  |  Next Thread
About the format of arguments | Reply
For this SRM's 500 ptr, the special integers are given as a vector of strings. I'm wondering:
  1. The first thing most coders do is to concatenate the strings together to get a single long string. A lot of previous problems' arguments are given in this manner. Why is the string not given as a single one? After all, it is no more than 2500 characters long and string concatenation is not part of the intended algorithm.

  2. For this problem, special integers fit in the range of 32-bit integers. Why bother give them as strings?
Subject Author Date
About the format of arguments stoundmire Feb 24, 2012 at 8:23 PM EST
Re: About the format of arguments vexorian Feb 24, 2012 at 8:30 PM EST
Re: About the format of arguments Cricicle Feb 24, 2012 at 8:31 PM EST
RSS