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
public class Main { | |
private static class ArithmeticProgression { | |
private final int a, n, d; | |
ArithmeticProgression(int a, int n, int d) { | |
this.a = a; | |
this.n = n; | |
this.d = d; | |
} |
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
/* | |
* Title:縦書き俳句プログラミング in Semicolonless Java. | |
* Description:初めてのSemicolonless Java。 | |
* Author:ゆいき @_yuiki | |
*/ | |
public class Main { | |
public static void main(String[] args) { | |
for (String haiku : new String[]{"古池や 蛙飛び込む 水の音"}) { | |
for (String[] splitHaiku : new String[][]{haiku.split(" ")}) { |
NewerOlder