|
|
вернуться в форумdoes anybody have java solution for this task? Послано esbybb 4 дек 2016 05:15 please post it (read chunk) here or give some piece of code, many sanx! Re: does anybody have java solution for this task? Послано esbybb 7 дек 2016 06:13 java AC 0.171 dont use String.toCharArray btw WA7 (add line 2): 1. for (i=p; i<lena; i++) 2. if (a[i]==' ') out2.print(' '); else 3. out2.print('_'); ab ab abcabcabcd | a b bcd | a_ _b _______bcd | so WA 7 controverses with "The words in both utterances are separated with exactly one space; there are no leading or trailing spaces in each line." Edited by author 07.12.2016 06:15 |
|
|