Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- #include <fstream>
- #include "log_duration.h"
- using namespace std;
- int main()
- {
- ios_base::sync_with_stdio(false);
- cin.tie(nullptr);
- {
- LOG_DURATION("endl");
- for (int i = 0; i < 100'000; ++i)
- {
- int x;
- cin >> x;
- cout << x << endl;
- }
- }
- {
- LOG_DURATION("'\\n'");
- for (int i = 0; i < 100'000; ++i)
- {
- int x;
- cin >> x;
- cout << x << '\n';
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement