[作業] compiler 作業1測資(3/14更新)
使用方法:將你的作業讀入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
推
03/12 11:06, , 1F
03/12 11:06, 1F
推
03/12 11:15, , 2F
03/12 11:15, 2F
推
03/12 11:41, , 3F
03/12 11:41, 3F
推
03/12 12:57, , 4F
03/12 12:57, 4F
推
03/12 19:46, , 5F
03/12 19:46, 5F
推
03/13 16:13, , 6F
03/13 16:13, 6F
→
03/13 16:46, , 7F
03/13 16:46, 7F
推
03/13 18:51, , 8F
03/13 18:51, 8F
推
03/13 21:44, , 9F
03/13 21:44, 9F
推
03/13 22:18, , 10F
03/13 22:18, 10F
→
03/14 11:22, , 11F
03/14 11:22, 11F
※ 編輯: sam9595 來自: 61.228.64.152 (03/14 11:26)
推
03/18 21:11, , 12F
03/18 21:11, 12F
推
03/19 09:03, , 13F
03/19 09:03, 13F
推
03/20 20:35, , 14F
03/20 20:35, 14F