8 mkdir /tmp mkdir /tmp/tmpdir1 mkdir /tmp/tmpdir2 touch /tmp/tmpdir1/tmpfile ls / 0 ls / 1 ls / 2 ls / 3
/+ / /tmp/+ / /tmp/ /tmp/tmpdir1/+ /tmp/tmpdir2/ / /tmp/ /tmp/tmpdir1/ /tmp/tmpdir1/tmpfile /tmp/tmpdir2/
18 touch /c mkdir / mkdir /a/b mkdir /a touch /a/b mkdir /a mkdir /c rmdir /c/d rmdir /c rmdir /a mkdir /a/e touch /a/e rm /a/e rm /a/b ls / 0 ls / 1 ls / 2 ls / 3
ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR /+ / /a/+ /c / /a/ /a/e/ /c / /a/ /a/e/ /c
9 mkdir /npsc mkdir /npsc/shell touch /npsc/shell/s1.in touch /npsc/shell/s2.in touch /npsc/shell/s3.in ls /npsc 0 ls /npsc/shell 0 ls /npsc/shell/s1.in 0 ls /npsc/shell 100
/npsc/+ /npsc/shell/+ ERROR /npsc/shell/ /npsc/shell/s1.in /npsc/shell/s2.in /npsc/shell/s3.in
NPSC 2017 國中組決賽 pC
| No. | Testdata Range | Constraints | Score |
|---|---|---|---|
| 1 | 0~2 | 範例測資 | 0 |
| 2 | 0~25 | 無額外限制 | 100 |