cpp tempaltes

This commit is contained in:
2026-04-04 19:55:09 -05:00
parent 054c58cb37
commit 351bcc9b69
2 changed files with 25 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
// Write Code here
int n;
cin >> n;

23
templates/cpp/file.cpp Normal file
View File

@@ -0,0 +1,23 @@
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
int main() {
freopen("problem.in", "r", stdin); // ← change problem name
freopen("problem.out", "w", stdout); // ← change problem name
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
// Write code here
int n;
cin >> n;
cout << n << "\n";
return 0;
}