• 沒有找到結果。

TCG 2018 HW. 1 Result

N/A
N/A
Protected

Academic year: 2022

Share "TCG 2018 HW. 1 Result"

Copied!
10
0
0

加載中.... (立即查看全文)

全文

(1)

TCG 2018 HW. 1 Result

Yunghsien Chung

November 7, 2018

(2)

. . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . .

. .

. . . . .

Grading Policy: Overall

The homework is composed of 3 parts. Suppose you get Si points in part i and receive P penalties throughout the homework, your raw score S0 is defined as

S0 := max{S1+ S2+ S3− P, 0}.

Suppose you submit your homework D days late, your score S is given by

S := LS0,

where L :=JD ≤ 7K(0.9⌈D⌉) denotes the lateness coefficient.

(3)

Grading Policy: Part I

Suppose your Sokoban solver solves a puzzle file F correctly within 1 minute. Let

νi denote the optimal number of moves of a solution to puzzle i, and nidenote the number of moves of your solution to puzzle i.

Then the basic score is defined as σ1(F) := 1 + 1

1000

10 i=1

⌊100νi ni

Suppose it takes t1 and t2 seconds for your solver to solve large.in and large2.in respectively. Then the time bonus is given by

τ1 :=Jt1≤ 1K + Jt2 ≤ 1K.

You get

S := min{

σ (F) + τ , 8}

(4)

. . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . .

. .

. . . . .

Grading Policy: Part II

You get

S2 := 2Jyour puzzle passes verifierK +Jyour puzzle is considered complexK points in this part.

(5)

Grading Policy: Part III

To get the full score, your report should contain how to compile/run your code,

your algorithm, your experiment, and

complexity analysis of both Sokoban and your algorithms.

(6)

. . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . .

. .

. . . . .

Grading Policy: Penalty

You’ll receive some penalties if you don’t follow hw1_spec.pdf.

Your solver doesn’t read from stdin.

Your solver doesn’t read until the EOF.

The EOL of your puzzle is “\r\n” instead of “\n”.

If your directory hierarchy is wrong, you won’t receive any penalty in this homework.

(7)

Languages

C++11

55.5%

33.3%

C++17 3.7% C11

3.7%3.7% Python3

(8)

. . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . .

. .

. . . . .

Score Distribution

4 6 8 10 12 14 16 18

0 1 2 3 4

Min: 4.8, Max: 16, Avg: 12.26, Median: 12.97, Stdev: 3.00

(9)

Part I Execution Times

0 5 10 15 20 25 30

small

small2

large

large2

2

4

8

18 7

5

17

8 18

18

2

1

Number of Solvers

(10)

. . . . . .

. . . . . . . .

. . . . . . . .

. . . . . . . .

. . .

. .

. . . . .

Part I Solution Optimality

0 5 10 15 20 25

small

small2

large

large2

10

7

6

6 15

16

13

3

Number of Solvers optimal non-optimal

參考文獻

相關文件

Example: gogui-twogtp -white white.exe -black black.exe -games 10 -alternate -size 9 -komi 7 -verbose -sgffile record_name -auto Using Gogui to display: gogui -program

(2) (1 points) Correct evaluation with the (right or wrong) obtained result of second time implicit differ- entiation to obtain y ′′ (1) deserves the rest 1 points.. In the second

CrossProduct(a,b) command; in Mathematica, use Cross[a,b].) The graph shows 6 local (or absolute) maximum points for 0 ≤  ≤ 2, as observed in part

CrossProduct(a,b) command; in Mathematica, use Cross[a,b].) The graph shows 6 local (or absolute) maximum points for 0 ≤  ≤ 2, as observed in part

The three parts are credited independently, e.g., you will still get full 4% in part (2) if the integration process is correct based on your result in (1), even though your result

* For the area in part (a), 2 points will be credited if your answer differs from the correct answer only by a simple

book pen pencil school bag cards doll puzzle teddy

6. To complete the ‘What’s Not’ column, students need to think about what used to be considered a fashionable thing to do, see, listen to, talk about and is no longer