Skip to content

Instantly share code, notes, and snippets.

# Customized AVIT ZSH Theme
PROMPT='$(_user_host)${_current_dir}$(git_prompt_info) $(_ruby_version) ▶ '
local _current_dir="%{$fg_bold[blue]%}%3~%{$reset_color%} "
local _return_status="%{$fg_bold[red]%}%(?..⍉)%{$reset_color%}"
local _hist_no="%{$fg[grey]%}%h%{$reset_color%}"
function _current_dir() {
local _max_pwd_length="65"
class Ideone
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner scanner = new Scanner(System.in);
int variable = -1;
int n = scanner.nextInt();
@hyeonsupark
hyeonsupark / AntProgression.java
Last active April 18, 2016 07:24
개미 수열
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);