質問編集履歴
2
要素数を書き換えました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
```c++
|
18
18
|
#define LOOP1 10
|
19
19
|
#define LOOP2 15
|
20
|
+
#define L 5
|
20
21
|
int main(void){
|
21
22
|
int loop1,loop2=0;
|
22
23
|
Complex *pn;
|
1
pnの要素数を書き換えました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
int main(void){
|
21
21
|
int loop1,loop2=0;
|
22
22
|
Complex *pn;
|
23
|
-
pn = new Complex [
|
23
|
+
pn = new Complex [LOOP2];
|
24
24
|
Complex *in;
|
25
25
|
in = new Complex [L];
|
26
26
|
|