Update basic.cpp

This commit is contained in:
Anthony Wang 2020-08-09 16:23:25 -05:00 committed by GitHub
parent de3301ba32
commit b6c8fc2cf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,8 @@ using ll = long long;
using ii = pair<int, int>;
int main() {
ios_base::sync_with_stdio(0), cin.tie(0);
if (fopen("in", "r")) freopen(("in", "r", stdin), freopen("out", "w", stdout);
ios_base::sync_with_stdio(0), cin.tie(0);
}