質問編集履歴
2
誤字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -84,7 +84,7 @@
|
|
84
84
|
|
85
85
|
b[0] = 0; // これがないと警告が出てしまうができれば書きたくない
|
86
86
|
|
87
|
-
for(int i = 0; i <
|
87
|
+
for(int i = 0; i < a; i++) b[i] = 0;
|
88
88
|
|
89
89
|
}
|
90
90
|
|
1
constの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,7 +64,7 @@
|
|
64
64
|
|
65
65
|
{
|
66
66
|
|
67
|
-
const int a = 100;
|
67
|
+
static constexpr int a = 100;
|
68
68
|
|
69
69
|
int b[a];
|
70
70
|
|