Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- #include <vector>
- using std::string;
- using std::cin;
- using std::cout;
- using std::vector;
- #include "c1.h"
- int main() {
- int n; cin >> n;
- vector<int> v(n);
- for (int & el : v) cin >> el;
- int q, k; cin >> q;
- while(q--) {
- cin >> k;
- print(v, k);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement