看板 b93902HW 關於我們 聯絡資訊
課程網頁中 基本spec中提及 1.6 <statements> a. assignment of expressions, where expressions can have variables, real-constant, integer-constant, (, ), +, -, *, / and "uminus". assignment is ":=", b. input statement %% it's legal when sysio.h is included READ(single variable) c. output statements %% it's legal when sysio.h is included WRITE(single variable) --- output a variable WRITESP() --- output a single space WRITELN() --- write a new line There may have spaces before, in between or after "()". d. Procedure call is in the form of %% declared in header files procedure_name() There may have spaces before, in between or after "()". e. The statement terminator is ";" 但是助教提供的測資8卻出現了 WHITE(-1); 請問這個測資是不是和spec有所牴觸了? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.91.5
godhuen:似乎test7.p也有 06/13 21:35
CuteLoga:助教還沒回 好吧 任命了 趕快改 XDDD 06/14 01:32
sophialiege:可以考慮用demo的 06/14 13:09