[HW7] About printable characters #911
-
이름 Your Name송영준 Youngjun Song 질문 Question안녕하세요, 저번 과제와 마찬가지로, 입력값 파일을 저장할 때 Printable한 ASCII 코드만 써야 하는지 궁금합니다. 직전에 두 번 제출을 했는데, 첫번째 제출은 (* Printable ASCII range
https://www.ascii-code.com/
*)
let min_ascii_printable = 32
let max_ascii_printable = 127
(* Generate a random character (printable). *)
let random_char () : char =
let range = max_ascii_printable - min_ascii_printable + 1 in
let random_int = Random.int range in
char_of_int (min_ascii_printable + random_int) 첫번째 제출의 경우, 첨부한 사진처럼 주어진 시간 이후 Autograder가 오류를 뱉으며 종료되어 제대로 채점되지 않았습니다. 이전 과제 3에서도 비슷한 이슈가 있었던 것 같은데 비슷한 상황일까요? 번역본 Translated VersionHello, I have a question similar to the previous assignment. When saving the input file, do we need to use only printable ASCII characters? I submitted the assignment twice. In the first submission, I used (* Printable ASCII range
https://www.ascii-code.com/
*)
let min_ascii_printable = 32
let max_ascii_printable = 127
(* Generate a random character (printable). *)
let random_char () : char =
let range = max_ascii_printable - min_ascii_printable + 1 in
let random_int = Random.int range in
char_of_int (min_ascii_printable + random_int) In the first submission, as shown in the attached screenshot, the autograder failed after a certain point and crashed, so the submission was not graded properly. In Homework 3, there was a similar issue. Could this be a similar situation? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
출력 가능한 ASCII 코드만 쓸 필요는 없습니다. 처음 제출하신 버전을 다시 채점해보니 정상적인 결과가 나왔습니다. 아무래도 Gradescope 상의 일시적인 문제 같습니다. You don't have to restrict the input to printable ASCII code. After regrading, your first submission was successfully tested. It seems like a temporary issue in Gradescope. |
Beta Was this translation helpful? Give feedback.
출력 가능한 ASCII 코드만 쓸 필요는 없습니다. 처음 제출하신 버전을 다시 채점해보니 정상적인 결과가 나왔습니다. 아무래도 Gradescope 상의 일시적인 문제 같습니다.
You don't have to restrict the input to printable ASCII code. After regrading, your first submission was successfully tested. It seems like a temporary issue in Gradescope.