Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- #include <algorithm>
- #include <vector>
- #define N 1005
- using namespace std;
- ifstream fin(".in");
- ofstream fout(".out");
- pair<int ,int> P(1,2);
- int main()
- {
- cout<<P.first<<" "<<P.second<<"\n";
- P.first=10;
- P.second=20;
- cout<<P.first<<" "<<P.second<<"\n";
- P=make_pair(30, 40);
- cout<<P.first<<" "<<P.second<<"\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement