contributed by <dvsseed
>
依作業要求至 lab0 fork專案到自己的 Github's repository
到自己的 github,查證剛剛fork的 repository 是否存在
到 Lubuntu 利用 git 指令(git clone git@github.com:dvsseed/lab0-c.git
) 將 遠端 repository 程式碼 取回至 local本地 repository
查詢 queue.h 內容並查閱以下資訊
查詢 queue.c 內容並查閱以下資訊
修改 queue.h, queue.c 程式後上傳至 github
git commit -a -m 'What you have done'
寫註解
git push origin master
提交
make
執行Makefile所定義的命令來產生目標檔案make test
呼叫 driver.py
執行評分程式...
+++ TESTING trace trace-15-perf:
# Test performance of insert_tail, size, and reverse
ERROR: Need to allocate separate string for each list element
ERROR: Insertion of gerbil failed (1 failures total)
ERROR: Computed queue size as 0, but correct value is 2
ERROR: Computed queue size as 0, but correct value is 2
--- trace-15-perf 0/7
--- TOTAL 0/100
因程式 queue.h
及 queue.c
未完成,目前計算得分是 0
分
sysprog2018
C
Homework
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing