a sequence of consecutive numbers (1) 썸네일형 리스트형 [C/C++] BOJ #1024 - Sum of Number Sequences. The problem “Sum of Number Sequences” (Baekjoon #1024) requires finding a sequence of consecutive integers whose sum equals a given number N, while ensuring that the length of the sequence is at least L. If multiple valid sequences exist, the shortest one should be chosen. If no such sequence can be found, the program should return -1. The sum of a sequence depends on how the sequence is struct.. 이전 1 다음