This file contains 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.util.*; | |
public class Main{ | |
public static void main(String[] args){ | |
Scanner scn = new Scanner(System.in); | |
int row,col; | |
int[] cols; | |
int cnt_min = 10*10000; | |
row = scn.nextInt(); |
This file contains 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.util.*; | |
public class aoj0509{ | |
static final int rowmax = 10000; | |
public static void main(String[] args){ | |
Scanner scn = new Scanner(System.in); | |
int num,mode; | |
Row[] rows = new Row[rowmax]; |
This file contains 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
(defpackage :infix | |
(:use :cl) | |
(:export #:add-operator | |
#:add-infix-function | |
#:install-default-operators-and-infix-functions)) | |
(in-package :infix) | |
(defconstant default-operators | |
'((1 ** expt :right) |
This file contains 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
(defun singlep (x) (and (consp x) (not (consp (cdr x))))) | |
(defun lambda-form? (form) | |
(and (consp form) | |
(eq (car form) 'lambda) | |
(every #'atom (cadr form)) | |
(singlep (cddr form)))) | |
(defun normalize-lambda-form (form) | |
(labels ((devide-lambda-list (vars body) |
This file contains 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
(defpackage :grass | |
(:use :common-lisp | |
:split-sequence | |
:babel | |
:ppcre | |
:babel-streams) | |
(:export :grass-eval | |
:str-to-grass)) | |
(in-package grass) |
This file contains 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
wwwwv ; \abcd.a | |
wv ; id | |
ww ; \xy.xy | |
WWwv | |
ww ; \xy.yx | |
Wwwv | |
wwww ; \mnfx.mf(nfx) := plus | |
WWWww | |
Www | |
WWWWWWwwww |
This file contains 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 <stdio.h> | |
#define M_MAX 18 | |
int m[M_MAX],k[M_MAX]; | |
void doit(int n){ | |
int i=0,j=0,a,l,r,nl,nr; | |
if(n==1){printf("X");return;} | |
for(i=0;n>k[i];i++); |
This file contains 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
;-*-Lisp-*- | |
(in-package :stumpwm-user) | |
;;壁紙を設定 | |
(run-shell-command "feh --bg-scale ~/Documents/minecraft.jpg") | |
;;;よく使うコマンド/キーバインドの設定 | |
(set-prefix-key (kbd "C-q")) | |
(defcommand opera () () |
This file contains 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 <queue> | |
#define MAX 100001 | |
using namespace std; | |
int mark[MAX],t[MAX]; | |
int query(int v){ | |
if(mark[v]) return v; |
This file contains 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
> (ql:quickload :ieee-floats) | |
To load "ieee-floats": | |
Load 1 ASDF system: | |
ieee-floats; Loading "ieee-floats" | |
[package ieee-floats]ASDF-TMP-ieee-floats.c | |
eB857tmp.c | |
ライブラリ C:/Users/zeptometer/AppData/Local/common-lisp/cache/ecl-12.7.1-b3f | |
bf511-win-x86/E/Documents/emacs-home/lisp/.quicklisp/dists/quicklisp/software/ie | |
ee-floats-20101006-darcs/ieee-floats.implib とオブジェクト C:/Users/zeptometer/A | |
ppData/Local/common-lisp/cache/ecl-12.7.1-b3fbf511-win-x86/E/Documents/emacs-hom |
OlderNewer