質問編集履歴

1

誤字

2020/08/18 15:01

投稿

FoolHotari
FoolHotari

スコア79

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  int p = 1;
4
4
 
5
- for (int i = 2; i < n; i++)
5
+ for (int i = 2; i <= n; i++)
6
6
 
7
7
  {
8
8