Compare commits
4 Commits
caa45609f6
...
5a05a4484e
| Author | SHA1 | Date | |
|---|---|---|---|
| 5a05a4484e | |||
| 351bcc9b69 | |||
| 054c58cb37 | |||
| 680970378f |
27
.gitignore
vendored
Normal file
27
.gitignore
vendored
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# ─── C++ ─────────────────────────────────────────────────────────────────────
|
||||||
|
*.o
|
||||||
|
*.out
|
||||||
|
*.exe
|
||||||
|
*.dSYM/
|
||||||
|
sol
|
||||||
|
debug
|
||||||
|
|
||||||
|
# ─── Java ────────────────────────────────────────────────────────────────────
|
||||||
|
*.class
|
||||||
|
*.jar
|
||||||
|
out/
|
||||||
|
|
||||||
|
# ─── Test Files ──────────────────────────────────────────────────────────────
|
||||||
|
*.out # always ignore outputs
|
||||||
|
# *.in # uncomment to also ignore inputs
|
||||||
|
*.txt
|
||||||
|
|
||||||
|
# ─── OS ──────────────────────────────────────────────────────────────────────
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# ─── Editors ─────────────────────────────────────────────────────────────────
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
20
templates/cpp/console.cpp
Normal file
20
templates/cpp/console.cpp
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
#include <bits/stdc++.h>
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
typedef long long ll;
|
||||||
|
typedef pair<int, int> pii;
|
||||||
|
typedef vector<int> vi;
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
ios_base::sync_with_stdio(false);
|
||||||
|
cin.tie(nullptr);
|
||||||
|
|
||||||
|
// Write Code here
|
||||||
|
|
||||||
|
int n;
|
||||||
|
cin >> n;
|
||||||
|
|
||||||
|
cout << n << "\n";
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
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;
|
||||||
|
}
|
||||||
@@ -2,7 +2,7 @@ import java.util.*;
|
|||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.math.*;
|
import java.math.*;
|
||||||
|
|
||||||
public class BufferedIO {
|
public class ConsoleIOBuffered {
|
||||||
|
|
||||||
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
|
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
|
||||||
static PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
|
static PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
|
||||||
@@ -4,7 +4,7 @@ import java.util.*;
|
|||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.math.*;
|
import java.math.*;
|
||||||
|
|
||||||
public class ScannerSout {
|
public class ConsoleIOSimple {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|
||||||
Scanner sc = new Scanner(System.in);
|
Scanner sc = new Scanner(System.in);
|
||||||
Reference in New Issue
Block a user