2012-05-05 08:01:40 -07:00
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
#include <map>
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
struct Point {
|
|
|
|
int x, y;
|
|
|
|
Point(int x, int y): x{x}, y{y}{}
|
|
|
|
};
|
|
|
|
|
|
|
|
const vector<string> s = {"a", "b", "c"};
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
string s1 {"first"};
|
|
|
|
int x {42};
|
2012-05-05 12:45:49 -07:00
|
|
|
map<string, vector<int>> singers = {
|
|
|
|
{"Freddie Mercury", {100, 102, 103}},
|
|
|
|
{"Matt Bellamy", {100, 104, 105}},
|
2012-05-05 08:01:40 -07:00
|
|
|
};
|
2012-05-05 13:54:38 -07:00
|
|
|
return x;
|
2012-05-05 08:01:40 -07:00
|
|
|
}
|