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
<?xml version="1.0" encoding="UTF-8"?> | |
<classpath> | |
<classpathentry kind="src" path="src/main/java"/> | |
<classpathentry kind="src" path="src/test/java"/> | |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | |
<classpathentry kind="lib" path="/usr/share/java/commons-logging-1.1.1.jar"/> | |
<classpathentry kind="lib" path="/usr/share/java/junit4.jar"/> | |
<classpathentry kind="output" path="bin"/> | |
</classpath> |
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 Penis { | |
public static void main (String[] args) { | |
int n = 0; | |
while (n <= 1000) { | |
System.out.println("チンポ"); | |
n++; | |
} | |
} | |
} |
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 { | |
public static main(String... args) { | |
Map<Integer, Map<Position, Box>> backingMap = Maps.newHashMap(); | |
Supplier<Map<Position, Box>> factory = newMapFactory(); | |
Table<Integer, Position, Box> table = Tables.newCustomTable(backingMap, factory); | |
Integer rowKey = 0; | |
Position columnKey = getPosition(); |
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 Sosu { | |
public static void main(String[] args){ | |
for(int n = 2 n<100; n++){ | |
boolean sosu=true; | |
for(int i=2;i<n;i++){ | |
if(n%i==0) { | |
sosu=false; | |
break; | |
} |
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.io.*; | |
public class Sosuhantei { | |
public static void main(String[] args) { | |
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); | |
try { | |
System.out.println("数字を入力"); | |
String line = reader.readLine(); | |
int n = Integer.parseInt(line); |
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
for num in 1..gets.to_i do | |
print "Fizz" if num % 3 == 0 | |
print "Buzz" if num % 5 == 0 | |
print num if num % 3 != 0 and num % 5 != 0 | |
end |
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
BITS 32 | |
mov eax, 4 | |
mov ebx, 1 | |
push 0x0a21646c | |
push 0x726f576f | |
push 0x6c6c6548 | |
mov ecx, esp | |
mov edx, 12 | |
int 0x80 |
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
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" | |
target triple = "x86_64-apple-macosx10.8.0" | |
@.endl = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 | |
@.fizz = private unnamed_addr constant [8 x i8] c"fizz%d\0A\00", align 1 | |
@.buzz = private unnamed_addr constant [8 x i8] c"buzz%d\0A\00", align 1 | |
@.fizzbuzz = private unnamed_addr constant [12 x i8] c"fizzbuzz%d\0A\00", align 1 | |
define i32 @main() #0 { | |
entry: |
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
foreach(var v in Enumerable.Range(1,100)){Console.WriteLine(v%15==0?"FizzBuzz":v%3==0?"Fizz":v%5==0?"Buzz":v.ToString());} |
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
package net.flourity.javatter.plugin.josou; | |
import java.io.ByteArrayInputStream; | |
import java.io.IOException; | |
import java.io.ObjectInputStream; | |
import java.nio.charset.Charset; | |
import java.util.regex.Pattern; | |
import twitter4j.Status; | |
import twitter4j.TwitterException; |
OlderNewer