_MyAngelGasai's blog

By _MyAngelGasai, history, 6 hours ago, In English

My real template is about 100 lines lol

#include <bits/stdc++.h>
#define ll long long
#define pb push_back
using namespace std;

void fl(){
	if (fopen("IN.inp", "r")){
		freopen("IN.inp", "r", stdin);
		freopen("OUT.out", "w", stdout);
	}
}

void boost(){
	ios_base::sync_with_stdio(0);
	cin.tie(0); cout.tie(0);
}

const ll N = 1e5 + 5;
const ll mod = 1e9 + 7;

void ans(){
	
}

int main(){
	fl();
	boost();
	ans();
}
  • Vote: I like it
  • -3
  • Vote: I do not like it

»
6 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

Testing auto function in Dev-C++

ll n; cin >> n;
vector<ll> u;
for (ll i = 1; i <= n; i++){
    ll x; cin >> x; u.pb(x);
}
for (auto i : u) cout << i << " ";