回答編集履歴

1

微修正

2020/03/10 08:23

投稿

episteme
episteme

スコア16614

test CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  int N = 3;
6
6
 
7
- SubThread[] threads = new SubThread[3];
7
+ SubThread[] threads = new SubThread[N];
8
8
 
9
- for ( int i = 0; i < n; ++I ) {
9
+ for ( int i = 0; i < N; ++I ) {
10
10
 
11
11
  threads[i] = new SubThread();
12
12