Add tags

Add tags to the following comment
JavaはGolf向きじゃないんですよねー,といいつつChallenge。
基本アルゴリズムは同じで,削れるだけ削ってみました。
現在243バイト。
1
import java.util.*;class F{public static void main(String[]a){int n=0,d;for(Calendar c=new GregorianCalendar();c.get(1)<2014;c.add(2,1)){d=c.get(5);c.set(5,13);if(d<=13&&c.get(7)==6){System.out.println(c.getTime());n++;}}System.out.print(n);}}

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...