This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdlib> | |
#include <string> | |
#include <algorithm> | |
#include <vector> | |
#include <cstdio> | |
using namespace std; | |
int main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package src; | |
import java.io.FileNotFoundException; | |
import java.io.PrintWriter; | |
import java.math.BigInteger; | |
import java.util.Scanner; | |
class Main{ | |
public static void main(String argv[]) throws FileNotFoundException { | |
Scanner sc; | |
PrintWriter pw = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.io.PrintWriter; | |
import java.math.BigInteger; | |
import java.util.Scanner; | |
class Main{ | |
public static void main(String argv[]) throws FileNotFoundException { | |
Scanner sc; | |
PrintWriter pw = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdlib> | |
#include <cstdio> | |
#include <iomanip> | |
#include <cmath> | |
#include <string> | |
#include <vector> | |
#include <bitset> | |
#include <deque> | |
#include <memory> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" /> | |
<component name="ProjectRootManager" version="2" /> | |
</project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.PrintWriter; | |
import java.lang.reflect.Array; | |
import java.util.Arrays; | |
import java.util.Scanner; | |
class Bor | |
{ | |
public class vertex | |
{ | |
int next[] = new int[26]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.PrintWriter; | |
import java.lang.reflect.Array; | |
import java.util.Arrays; | |
import java.util.Scanner; | |
class Bor | |
{ | |
public class vertex | |
{ | |
int next[]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
withFile = 1 | |
if(withFile == 1): | |
fin = open('input.txt', 'r') | |
fout = open('output.txt', 'w') | |
def getl(): | |
if(withFile == 0): | |
return input() | |
else: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from heapq import heappush, heapify, heappop | |
withFile = 1 | |
if(withFile == 1): | |
fin = open('input.txt', 'r') | |
fout = open('output.txt', 'w') | |
def getl(): | |
if(withFile == 0): | |
return input() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests | |
import sys | |
fout = open('log.txt', 'w') | |
r = requests.get('http://codeforces.com/api/user.status', params={'handle' : 'Jyree'}) | |
info = json.loads(r.text) |
OlderNewer