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
background yes | |
use_xft yes | |
xftfont Sans:size=8 | |
xftalpha 1 | |
update_interval 1.0 | |
total_run_times 0 | |
own_window yes | |
own_window_transparent yes | |
own_window_type desktop | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager |
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
h = int(input()) | |
for i in range(1, h+1, 2): | |
print(i * "*" + (2*h - 2*i) * " " + i * "*") | |
for i in range(h-2, 0, -2): | |
print(i * "*" + (2*h - 2*i) * " " + i * "*") |
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
h = int(input()) | |
x = 1 | |
for i in range(h): | |
print(x * "*" + (2*h - 2*x) * " " + x * "*") | |
if i >= h // 2: | |
x -= 2 | |
else: | |
x += 2 |
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
set nocompatible | |
call plug#begin() | |
Plug 'tpope/vim-vinegar' | |
Plug 'mbbill/undotree' | |
Plug 'itchyny/lightline.vim' | |
Plug 'rust-lang/rust.vim' | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
Plug 'junegunn/fzf.vim' | |
Plug 'christoomey/vim-tmux-navigator' |
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
Total time: 717870 | |
Average time: 7178.7 | |
Error count: 0 | |
All times: | |
10041 | |
1123 | |
16876 | |
839 | |
8814 | |
1540 |
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
Total time: 827370 | |
Average time: 8273.7 | |
Error count: 0 | |
All times: | |
15702 | |
1335 | |
2347 | |
2092 | |
15439 | |
18501 |
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
Tasks: | |
dmoj: vmss15c1p4 (Frank and Roads) | |
- You can use Dijkstra, but just BFS is fine. | |
dmoj: ccc15s4 (Convex Hull) | |
- Dijkstra. You might not get this, Leo will show the answer next week. | |
import java.util.*; | |
import java.io.*; |
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
" jeffrey zhao vimrc | |
" mostly copied from https://gist.github.com/pthrasher/3933522 | |
set nocompatible | |
filetype off | |
" handle vundle | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() |