Skip to content

Instantly share code, notes, and snippets.

View dhavalpandey's full-sized avatar
🔥
Always ready

Dhaval Pandey dhavalpandey

🔥
Always ready
View GitHub Profile
/*
Made by Dhaval Pandey
You can now browse the web (with all websites unblocked) during class.
How to bypass all tracking software, restrictions (all without appearing on your search history):
1. Copy Pase the JS code underneath.
2. Create a new bookmark on your browser.
3. Set the URL parameter of that bookmark to the following code.
4. Name the bookmark anything you like.
@dhavalpandey
dhavalpandey / template.java
Last active October 30, 2021 12:55
Competitive Programming Template - Java
//=======================================================================================copy under=====================================================================//
import java.io.*;
import java.util.*;
class comp {
static final FastScanner fs = new FastScanner();
static int testCases;
public static void main(String[] args) {
testCases = fs.nextInt();
@dhavalpandey
dhavalpandey / template.cpp
Last active October 30, 2021 12:54
Competitive Programming Template - C++
#include<bits/stdc++.h>
using namespace std;
#define gc getchar_unlocked
#define fo(i, n) for (i = 0; i < n; i++)
#define Fo(i, k, n) for (i = k; k < n ? i < n : i > n; k < n ? i += 1 : i -= 1)
#define ll long long
#define si(x) scanf("%d", & x)
#define sl(x) scanf("%lld", & x)
#define ss(s) scanf("%s", s)