cpp tempaltes
This commit is contained in:
@@ -9,6 +9,8 @@ int main() {
|
|||||||
ios_base::sync_with_stdio(false);
|
ios_base::sync_with_stdio(false);
|
||||||
cin.tie(nullptr);
|
cin.tie(nullptr);
|
||||||
|
|
||||||
|
// Write Code here
|
||||||
|
|
||||||
int n;
|
int n;
|
||||||
cin >> n;
|
cin >> n;
|
||||||
|
|
||||||
23
templates/cpp/file.cpp
Normal file
23
templates/cpp/file.cpp
Normal 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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user