-
file을 이용해서 입출력 받고자 할 때아무거나적어~ 2022. 12. 14. 16:31123456789101112131415161718192021222324#include <bits/stdc++.h>#define endl "\n" // don't use when you cover interactive problem#define all(v) (v).begin(), (v).end()using namespace std;typedef long long ll;typedef pair<int, int> pi;typedef pair<ll, ll> pl;int main(){#ifndef ONLINE_JUDGEfreopen("../input.txt", "r", stdin);freopen("../output.txt", "w", stdout);#endifios::sync_with_stdio(false);cin.tie(0), cout.tie(0);int a; cin >> a;cout << a << endl;return 0;}cs
'아무거나적어~' 카테고리의 다른 글
c++ 의 매력?? (0) 2022.12.21 [c++] size vs sizeof (0) 2022.12.21 gksrmfdl dkscuwudy (0) 2022.10.09 remind parametric search (0) 2022.09.30 python3 Get minimum value with multiple criteria (1) 2022.09.29