From 81948ab951c9f195e27e1ca612496f77b8569814 Mon Sep 17 00:00:00 2001 From: xkm Date: Tue, 14 Apr 2026 01:00:34 +0800 Subject: [PATCH] template: default read in.txt in LOCAL --- template.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template.cpp b/template.cpp index 11357ea..6d30b68 100644 --- a/template.cpp +++ b/template.cpp @@ -13,7 +13,9 @@ void solve() { } signed main() { -#ifndef LOCAL +#ifdef LOCAL + freopen("in.txt", "r", stdin); +#else ios::sync_with_stdio(0), cin.tie(0), cout.tie(0); #endif int t = 1;