質問編集履歴

1

int eta[L+1] = {0};, eta[1]=0;,eta[2]=0;

2020/10/12 09:41

投稿

Okuhira007
Okuhira007

スコア13

test CHANGED
File without changes
test CHANGED
@@ -56,9 +56,11 @@
56
56
 
57
57
  {
58
58
 
59
- int eta[L+1];
59
+ int eta[L+1] = {0};
60
60
 
61
+ eta[1] = 1;
61
62
 
63
+ eta[2] = 1;
62
64
 
63
65
  printf("%d\n", H(eta));
64
66