/****************************/
/* for 文 */
/* coded by Y.Suganuma */
/****************************/
#include <iostream>
#include <vector>
using namespace std;
int main()
{
// 配列
int x[] = {1, 2, 3};
for (auto e : x) // for (auto e : {1, 2, 3}) も OK
cout << e << endl;
// vector クラス
vector<int> y = {1, 2, 3};
for (auto e : y)
cout << e << endl;
// 普通の for 文
for (int i1 = 1; i1 < 4; i1++)
cout << i1 << endl;
return 0;
}