Homework Introduction
Please name your .c
file as lab4.c
. Just compress your lab4.c
and possible header files into one zip file. Do not contain the commands.txt
! And please use relative path to open commands.txt
in your program.
Note:
Linux has more strict restrictions on undefined behaviors, such as array index out of bound. If you find that your code works well on your platform (Windows) but gets a "runtime error" or "wrong answer" on JOJ, you may check every place that you access the array with the index.
However, during real labs, we will only check whether your code can give a correct result on your platform, so don't worry too much about the results on JOJ. Yet it's a good habit to eliminate all undefined behaviors.
Also, since this is only a test for you to find potential problems, on JOJ we use some quite extreme testcases. The real testcases in the lab will be pretty more moderate. Don't worry!
Good Luck!
- Status
- Finished
- Problems
- 4
- Open Since
- 2021-10-30 00:00
- DDL
- 2021-11-11 23:59
- Extension
- 24.0 hour(s)