Skip to content

Instantly share code, notes, and snippets.

View lili668668's full-sized avatar

Tzu-Yin Hong lili668668

View GitHub Profile
@lili668668
lili668668 / index.html
Created August 30, 2017 07:02
下載檔案的 html 範例檔
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<a href="Behavior.xml" download="Behavior.xml">下載行為檔案</a>
</body>
</html>
@lili668668
lili668668 / C3.java
Last active April 12, 2016 13:47
itsa46測試第三題
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];
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) {
// 第一種結果手機當掉
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) {