質問


問題名 ユーザ名 質問 回答 全体公開 投稿日時 最終更新日時
E - A > B substring shinchan
N(N-1)/2はN(N+1)/2の間違いですか?
はい。問題文を修正いたしました。/We fixed the problem statement. There are N(N+1)/2 nonempty contiguous substrings instead of N(N-1)/2.
Yes