作者sam9595 (帕帕)
看板b95902HW
標題[作業] compiler 作業1測資
時間Thu Mar 12 10:18:53 2009
使用方法:將你的作業讀入input檔並輸出,再執行diff和output檔作比較
input:
http://w.csie.org/~b95076/code/compiler/hw1test1.in
http://w.csie.org/~b95076/code/compiler/hw1test2.in (3.14更新)
http://w.csie.org/~b95076/code/compiler/hw1test3.in
output:
http://w.csie.org/~b95076/code/compiler/hw1test1.out
http://w.csie.org/~b95076/code/compiler/hw1test2.out (3.14更新)
http://w.csie.org/~b95076/code/compiler/hw1test3.out
如果有錯請麻煩再跟我講吧
有測的項目如下
1.全部保留字
2.保留字後接字
3.保留字前接字
4.保留字連接
5.保留字參雜大寫
6.保留字前面為tab
7.數字(包括開頭為零)
8.負數
8.數字前正號
9.數字有小數點
10.數字後接字(;)
11.數字前接字(=)
12.數字接保留字
13.數字放最前面
14.數字前為tab
15.科學記號
16.純.c檔
17.空格int空格int(3/14新增 測資2)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.30.84
1F:推 locationc:推 03/12 11:06
2F:推 edwardhw:推 03/12 11:15
3F:推 LeoSW:推~ 03/12 11:41
4F:推 tobyhuang:推 03/12 12:57
5F:推 gglk:謝謝喔 推 03/12 19:46
6F:推 askus:推推: ) 03/13 16:13
7F:→ tantofish:推!! 03/13 16:46
8F:推 hideys:推 03/13 18:51
9F:推 yuhan210:推~ 03/13 21:44
10F:推 kuokuo321:補一個好像沒測到的東-->空格INT空格INT 03/13 22:18
11F:→ sam9595:好 ok 我補一下 03/14 11:22
※ 編輯: sam9595 來自: 61.228.64.152 (03/14 11:26)
12F:推 hakusin:有測有推 03/18 21:11
13F:推 evivrus:有下有推 03/19 09:03
14F:推 angela7736:有測有推 03/20 20:35