12 lines
309 B
C++
12 lines
309 B
C++
#include <bits/stdc++.h>
|
|
using namespace std;
|
|
int main() {
|
|
map<int, string> _map;
|
|
_map[1] = "student_one";
|
|
_map[2] = "student_two";
|
|
_map[3] = "student_three";
|
|
for (auto it = _map.begin(); it != _map.end(); it++) {
|
|
cout << it->first << " " << it->second << endl;
|
|
}
|
|
}
|