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.*; | |
| import java.util.*; | |
| import static java.lang.System.*; | |
| public class F { | |
| static TreeMap<Integer, Integer> map = new TreeMap<Integer, Integer>(); | |
| /** | |
| * @param args | |
| */ |
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.*; | |
| import java.util.*; | |
| import static java.lang.System.*; | |
| public class H { | |
| static long[] cand; | |
| static long[] arr; | |
| static boolean[] sourced; |
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
| #dig start(9;8;left staircase) Basic layout | |
| d d d d d # | |
| d d d d d # | |
| d d d d d # | |
| d d d d d # | |
| d d d d d # | |
| d d # | |
| d d d d d d d d d d d d d d # | |
| d d d d d d d d i i d d d d d d d # | |
| d d d d d d d d d d d d d d d d d # |
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.*; | |
| import java.util.*; | |
| import java.math.*; | |
| import java.awt.geom.*; | |
| import static java.lang.System.*; | |
| public class Uva11265 { | |
| static class CmpX implements Comparator<Point2D> { | |
| @Override |
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 <cstdio> | |
| #include <cstdlib> | |
| #include <cmath> | |
| #include <cstring> | |
| #include <iostream> | |
| #include <algorithm> | |
| #include <set> | |
| #include <string> | |
| #include <map> | |
| #include <functional> |
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 <cstdio> | |
| #include <cstdlib> | |
| #include <cmath> | |
| #include <cstring> | |
| #include <iostream> | |
| #include <algorithm> | |
| #include <functional> | |
| using namespace std; |
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 <cstdio> | |
| #include <cstdlib> | |
| #include <cmath> | |
| #include <cstring> | |
| #include <iostream> | |
| #include <algorithm> | |
| using namespace std; | |
| struct Point { |
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
| \documentclass[14pt]{beamer} | |
| \mode<presentation> | |
| \usetheme{Frankfurt} | |
| \usefonttheme[onlysmall]{structurebold} | |
| %\usepackage{pgfpages} | |
| %\pgfpagesuselayout{4 on 1}[letterpaper,border shrink=5mm, landscape] | |
| \usepackage{graphicx} | |
| \newcommand{\foo}{\hspace{-2.3pt}$\bullet$ \hspace{5pt}} % For timeline |
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.*; | |
| import java.util.*; | |
| import java.math.*; | |
| import java.awt.geom.*; | |
| import static java.lang.System.*; | |
| public class Uva137 { | |
| public static void main(String[] args) throws IOException { | |
| //BufferedReader br = new BufferedReader(new InputStreamReader(in)); | |
| Scanner sc = new Scanner(in); |
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 <cstdio> | |
| #include <cstdlib> | |
| #include <cmath> | |
| #include <cstring> | |
| #include <iostream> | |
| #include <algorithm> | |
| #include <set> | |
| #include <vector> | |
| #include <list> | |
| #include <deque> |