//No.67 よくある棒を切る問題 (1) //v1 import std.stdio; import std.conv; void main() { uint n, k, total = 0; uint[] l; readf("%s\n", &n); l.length = n; char[] buf; readln(buf); size_t bufLength = buf.length - 1; size_t counter = 0; uint tmp = 0; for(size_t i = 0; i