0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

アルゴ式-英小文字の種類数

  • for文をcharの'a'から'z'で回すというテクニック

アルゴ式-同じ文字列

for (int i = 0;i< N;i++){
    for (int j = i + 1;j < N;j++){
        
    }
}

のiを0からN-1、jをi + 1からN-1までループさせる手法で同じ文字列の判定もできる

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?