回答編集履歴

1

修正

2019/06/19 04:20

投稿

asm
asm

スコア15149

test CHANGED
@@ -2,22 +2,22 @@
2
2
 
3
3
  string str = "12345678abcdefgh";
4
4
 
5
- string s[4];
5
+ string s[4];
6
6
 
7
- s[0] = str.substr(0, 4);
7
+ s[0] = str.substr(0, 4);
8
8
 
9
- s[1] = str.substr(4, 4);
9
+ s[1] = str.substr(4, 4);
10
10
 
11
- s[2] = str.substr(8, 4);
11
+ s[2] = str.substr(8, 4);
12
12
 
13
- s[3] = str.substr(12,4);
13
+ s[3] = str.substr(12,4);
14
14
 
15
- cout << s[0] << endl
15
+ cout << s[0] << endl
16
16
 
17
- << s[1] << endl
17
+ << s[1] << endl
18
18
 
19
- << s[2] << endl
19
+ << s[2] << endl
20
20
 
21
- << s[3];
21
+ << s[3];
22
22
 
23
23
  ```