Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- #include "func.h"
- int main() {
- size_t n; std::cin >> n;
- std::vector<Book> v(n);
- for (size_t i = v.size(); i > 0; --i) {
- v[i - 1] = read();
- }
- for (Book cur : v) {
- print(cur);
- std::cout << '\n';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement