mirror of
https://github.com/kmc7468/cs220.git
synced 2025-12-12 21:08:45 +00:00
modify submission file
This commit is contained in:
11
README.md
11
README.md
@@ -139,13 +139,10 @@ Make sure that you're capable of using the following development tools:
|
||||
- Submit your solution to <https://gg.kaist.ac.kr/course/17>.
|
||||
- **How to submit your assignment:**
|
||||
- To submit your solution, you should run `submit.sh` in `scripts` directory. In other words, you should run the following command:
|
||||
```bash
|
||||
# Run this command at the root directory of this repository.
|
||||
$ ./scripts/submit.sh <assignment_number>
|
||||
|
||||
# E.g. To submit `assignment09`, run the following command:
|
||||
$ ./scripts/submit.sh 9
|
||||
```
|
||||
```bash
|
||||
# Run this command at the root directory of this repository.
|
||||
$ ./scripts/submit.sh
|
||||
```
|
||||
- After running the command above, in the `target` directory, you can find a `assignment<NUMBER>.zip` file (`assignment09.zip` for example). Submit this file to <https://gg.kaist.ac.kr/course/17>.
|
||||
- Read the documentation at <https://cp.kaist.ac.kr/cs220/cs220/>.
|
||||
- You can check your grade of each assignment by running the grading script.
|
||||
|
||||
@@ -2,21 +2,17 @@
|
||||
|
||||
set -e
|
||||
|
||||
if [ $# != 1 ]
|
||||
then
|
||||
echo "==============================="
|
||||
echo "Invalid argument."
|
||||
echo "Usage: './submit.sh <assignment_number>'"
|
||||
echo "Example: './submit.sh 1' to grade assignment01"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
BASEDIR=$(dirname "$0")/..
|
||||
|
||||
mkdir -p $BASEDIR/target
|
||||
|
||||
ZIP_FILE=$(printf "$BASEDIR/target/assignment%02d.zip" $1)
|
||||
SRC_PATH=$(printf "$BASEDIR/src/assignments/assignment%02d" $1)
|
||||
|
||||
echo $ZIP_FILE
|
||||
echo $SRC_PATH
|
||||
zip -rj $ZIP_FILE $SRC_PATH
|
||||
for i in {01..13} ; do
|
||||
if [ $i -eq 5 ]
|
||||
then
|
||||
continue
|
||||
fi
|
||||
if [ -f $BASEDIR/target/assignment$i.zip ]; then
|
||||
rm $BASEDIR/target/assignment$i.zip
|
||||
fi
|
||||
zip -rj $BASEDIR/target/assignment$i.zip $BASEDIR/src/assignments/assignment$i
|
||||
done
|
||||
|
||||
@@ -5,6 +5,13 @@
|
||||
//!
|
||||
//! You should fill out the `todo!()` placeholders in such a way that `/scripts/grade.sh 1` works fine.
|
||||
//! See `assigment01/small_exercises_grade.rs` and `/scripts/grade.sh 1` for the test script.
|
||||
//!
|
||||
//! To submit, run
|
||||
//! ```bash
|
||||
//! # At the cs220 home directory,
|
||||
//! ./scripts/submit.sh
|
||||
//! ```
|
||||
//! and submit the generated `assignment01.zip` file in `target` directory.
|
||||
|
||||
pub mod small_exercises;
|
||||
mod small_exercises_grade;
|
||||
|
||||
@@ -5,6 +5,13 @@
|
||||
//!
|
||||
//! You should fill out the `todo!()` placeholders in such a way that `/scripts/grade.sh 2` works fine.
|
||||
//! See `assigment02/*_grade.rs` and `/scripts/grade.sh 2` for the test script.
|
||||
//!
|
||||
//! To submit, run
|
||||
//! ```bash
|
||||
//! # At the cs220 home directory,
|
||||
//! ./scripts/submit.sh
|
||||
//! ```
|
||||
//! and submit the generated `assignment02.zip` file in `target` directory.
|
||||
|
||||
pub mod small_exercises;
|
||||
mod small_exercises_grade;
|
||||
|
||||
@@ -2,6 +2,13 @@
|
||||
//!
|
||||
//! You should fill out the `todo!()` placeholders in such a way that `/scripts/grade.sh 3` works fine.
|
||||
//! See `assignment03/*_grade.rs` and `/scripts/grade.sh 3` for the test script.
|
||||
//!
|
||||
//! To submit, run
|
||||
//! ```bash
|
||||
//! # At the cs220 home directory,
|
||||
//! ./scripts/submit.sh
|
||||
//! ```
|
||||
//! and submit the generated `assignment03.zip` file in `target` directory.
|
||||
|
||||
pub mod small_exercises;
|
||||
mod small_exercises_grade;
|
||||
|
||||
@@ -14,6 +14,13 @@
|
||||
//! You should fill out the `todo!()` placeholders in such a way that `/scripts/grade.sh 4` works fine.
|
||||
//! See `assignment04/grade.rs` and `/scripts/grade.sh 4` for the test script.
|
||||
//! Run `/scripts/prepare-submissions.sh` and submit `/target/assignment04.zip` to <https://gg.kaist.ac.kr>.
|
||||
//!
|
||||
//! To submit, run
|
||||
//! ```bash
|
||||
//! # At the cs220 home directory,
|
||||
//! ./scripts/submit.sh
|
||||
//! ```
|
||||
//! and submit the generated `assignment04.zip` file in `target` directory.
|
||||
|
||||
pub mod context;
|
||||
mod grade;
|
||||
|
||||
@@ -4,6 +4,13 @@
|
||||
//!
|
||||
//! You should fill out the `todo!()` placeholders in such a way that `/scripts/grade.sh 6` works fine.
|
||||
//! See `assignment06/*_grade.rs` and `/scripts/grade.sh 6` for the test script.
|
||||
//!
|
||||
//! To submit, run
|
||||
//! ```bash
|
||||
//! # At the cs220 home directory,
|
||||
//! ./scripts/submit.sh
|
||||
//! ```
|
||||
//! and submit the generated `assignment06.zip` file in `target` directory.
|
||||
|
||||
pub mod semiring;
|
||||
pub mod symbolic_differentiation;
|
||||
|
||||
@@ -4,6 +4,13 @@
|
||||
//!
|
||||
//! You should fill out the `todo!()` placeholders in such a way that `/scripts/grade.sh 7` works fine.
|
||||
//! See `assignment07/*_grade.rs` and `/scripts/grade.sh 7` for the test script.
|
||||
//!
|
||||
//! To submit, run
|
||||
//! ```bash
|
||||
//! # At the cs220 home directory,
|
||||
//! ./scripts/submit.sh
|
||||
//! ```
|
||||
//! and submit the generated `assignment07.zip` file in `target` directory.
|
||||
|
||||
pub mod generator;
|
||||
pub mod my_itertools;
|
||||
|
||||
@@ -4,6 +4,13 @@
|
||||
//!
|
||||
//! You should fill out the `todo!()` placeholders in such a way that `/scripts/grade.sh 8` works fine.
|
||||
//! See `assignment08/*_grade.rs` and `/scripts/grade.sh 8` for the test script.
|
||||
//!
|
||||
//! To submit, run
|
||||
//! ```bash
|
||||
//! # At the cs220 home directory,
|
||||
//! ./scripts/submit.sh
|
||||
//! ```
|
||||
//! and submit the generated `assignment08.zip` file in `target` directory.
|
||||
|
||||
pub mod church;
|
||||
pub mod small_exercises;
|
||||
|
||||
@@ -4,6 +4,13 @@
|
||||
//!
|
||||
//! You should fill out the `todo!()` placeholders in such a way that `/scripts/grade.sh 9` works fine.
|
||||
//! See `assignment09/*_grade.rs` and `/scripts/grade.sh 9` for the test script.
|
||||
//!
|
||||
//! To submit, run
|
||||
//! ```bash
|
||||
//! # At the cs220 home directory,
|
||||
//! ./scripts/submit.sh
|
||||
//! ```
|
||||
//! and submit the generated `assignment09.zip` file in `target` directory.
|
||||
|
||||
pub mod bigint;
|
||||
pub mod matmul;
|
||||
|
||||
@@ -3,6 +3,13 @@
|
||||
//!
|
||||
//! You should fill out the `todo!()` placeholders in such a way that `/scripts/grade.sh 10` works fine.
|
||||
//! See `assignment10/*_grade.rs` and `/scripts/grade.sh 10` for the test script.
|
||||
//!
|
||||
//! To submit, run
|
||||
//! ```bash
|
||||
//! # At the cs220 home directory,
|
||||
//! ./scripts/submit.sh
|
||||
//! ```
|
||||
//! and submit the generated `assignment10.zip` file in `target` directory.
|
||||
|
||||
pub mod labyrinth;
|
||||
pub mod small_exercises;
|
||||
|
||||
@@ -3,6 +3,13 @@
|
||||
//! You should fill out `todo!()` placeholders in such a way that `/scripts/grade.sh 11` works fine.
|
||||
//! See `assignment11/*_grade.rs` and `/scripts/grade.sh 11` for the test script.
|
||||
//! Run `/scripts/prepare-submissions.sh` and submit `/target/assignment11.zip` to <https://gg.kaist.ac.kr>.
|
||||
//!
|
||||
//! To submit, run
|
||||
//! ```bash
|
||||
//! # At the cs220 home directory,
|
||||
//! ./scripts/submit.sh
|
||||
//! ```
|
||||
//! and submit the generated `assignment11.zip` file in `target` directory.
|
||||
|
||||
pub mod graph;
|
||||
pub mod linked_list;
|
||||
|
||||
@@ -4,6 +4,13 @@
|
||||
//!
|
||||
//! You should fill out the `todo!()` placeholders in such a way that `/scripts/grade.sh 12` works fine.
|
||||
//! See `assignment12/*_grade.rs` and `/scripts/grade.sh 12` for the test script.
|
||||
//!
|
||||
//! To submit, run
|
||||
//! ```bash
|
||||
//! # At the cs220 home directory,
|
||||
//! ./scripts/submit.sh
|
||||
//! ```
|
||||
//! and submit the generated `assignment12.zip` file in `target` directory.
|
||||
|
||||
pub mod card;
|
||||
pub mod demux;
|
||||
|
||||
@@ -5,6 +5,13 @@
|
||||
//! Refer to your solution for assignment 09. You will implement the parallelized version of assignment 09.
|
||||
//! You should fill out the `todo!()` placeholders in such a way that `/scripts/grade.sh 13` works fine.
|
||||
//! See `assignment13/small_exercises_grade.rs` and `/scripts/grade.sh 13` for the test script.
|
||||
//!
|
||||
//! To submit, run
|
||||
//! ```bash
|
||||
//! # At the cs220 home directory,
|
||||
//! ./scripts/submit.sh
|
||||
//! ```
|
||||
//! and submit the generated `assignment13.zip` file in `target` directory.
|
||||
|
||||
pub mod small_exercises;
|
||||
mod small_exercises_grade;
|
||||
|
||||
Reference in New Issue
Block a user