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
<html> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<a href="Behavior.xml" download="Behavior.xml">下載行為檔案</a> | |
</body> | |
</html> |
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.math.BigInteger; | |
import java.util.Scanner; | |
public class C3 { | |
public static void main(String[] args) { | |
// TODO Auto-generated method stub | |
Scanner input = new Scanner(System.in); | |
int n = input.nextInt(); | |
BigInteger[][] p = new BigInteger[n+1][n+1]; |
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 static void autoChangeColors(final ImageView bg, int time, final int[] colors) { | |
final int size = colors.length; | |
final long milltime = time * 1000; | |
final Handler handler = new Handler() { | |
int count = 0; | |
@Override | |
public void handleMessage(Message msg) { | |
switch (msg.what) { |
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 static void autoChangeColors(final ImageView bg, int time, final int[] colors) { | |
final int size = colors.length; | |
final long milltime = time * 1000; | |
Thread timer = new Thread(new Runnable() { | |
int count = 0; | |
@Override | |
public void run() { | |
while (true) { |
NewerOlder