回答編集履歴

1

Update

2021/12/04 16:36

投稿

melian
melian

スコア19865

test CHANGED
@@ -20,7 +20,11 @@
20
20
 
21
21
  j = FT_LINE1 <= 0 ? 1 : FT_LINE1
22
22
 
23
+ max = length(sorted_account)
24
+
25
+ max = max < FT_LINE2 ? max : FT_LINE2
26
+
23
- while (j <= FT_LINE2)
27
+ while (j <= max)
24
28
 
25
29
  printf("%s\n", sorted_account[j++]);
26
30