Skip to content

Commit 73ddcd1

Browse files
committed
modernize
1 parent 4d1c2fd commit 73ddcd1

File tree

3 files changed

+7
-28
lines changed

3 files changed

+7
-28
lines changed

fifteen/random/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Using this trick is a good way to get started. However, this configuration is de
3737

3838
### Downloading
3939

40-
$ wget https://github.com/minprog/cs50x/raw/2021/fifteen/dist/fifteen.zip
40+
$ curl -O https://github.com/minprog/cs50x/raw/2021/fifteen/dist/fifteen.zip
4141
$ unzip fifteen.zip
4242
$ rm fifteen.zip
4343
$ cd fifteen

find/less/find.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Implement a program that finds a number among numbers, per the below.
1010

1111
## Distribution
1212

13-
$ wget https://github.com/minprog/cs50x/raw/2021/find/dist/find.zip
13+
$ curl -O https://github.com/minprog/cs50x/raw/2021/find/dist/find.zip
1414
$ unzip find.zip
1515
$ rm find.zip
1616
$ cd find
@@ -243,7 +243,7 @@ you should see `1`, since `128` is, again, not among the 1,000 numbers outputted
243243

244244
When you're completely satisfied that your program works as expected using manual testing, you can run `check50` to check for corner cases that may have escaped your attention.
245245

246-
check50 -l minprog/cs50x/2020/find
246+
check50 -l minprog/cs50x/2021/find
247247

248248

249249
## Hints
@@ -255,12 +255,3 @@ Ultimately, you are welcome to implement `search` iteratively (with a loop) or r
255255
For `sort`, odds are you'll want to implement bubble sort, selection sort, or insertion sort! Just realize that there's no one "right" way to implement any of those algorithms; variations abound. In fact, you're welcome to improve upon them as you see fit, so long as your implementation remains in _O_(_n_<sup>2</sup>). Although you may not alter our declaration of `sort`, you're welcome to define your own function(s) in `helpers.c` that `sort` itself may then call.
256256

257257
We leave it to you to determine how best to test your implementation of `search` and `sort`. But don't forget that `printf` is your friend while debugging! And don't forget that you can generate the same sequence of pseudorandom numbers again and again by explicitly specifying ``generate``'s seed.
258-
259-
260-
## How to submit
261-
262-
When you're done, submit your implementation, below!
263-
264-
1. Download `helpers.c` from the `~/problems/find` directory in your IDE.
265-
266-
3. In the form below, choose the files that you just downloaded.

sort/index.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ Recall from lecture that we saw a few algorithms for sorting a sequence of numbe
1616

1717
## Getting Started
1818

19-
1. Log into [ide.cs50.io](https://ide.cs50.io/) using your GitHub account.
20-
2. In your terminal window, run `cd ~/problems` to switch to your `problems` directory.
21-
2. In your terminal window, run `wget https://github.com/minprog/cs50x/raw/2021/sort/dist/sort.zip` to download a Zip file of the lab distribution code.
22-
3. In your terminal window, run `unzip sort.zip` to unzip (i.e., decompress) that Zip file.
23-
4. In your terminal window, run `cd sort` to change directories into your `sort` directory.
19+
- `cd` to your Programming directory
20+
- In your terminal window, run `curl -O https://github.com/minprog/cs50x/raw/2021/sort/dist/sort.zip` to download a Zip file of the lab distribution code.
21+
- In your terminal window, run `unzip sort.zip` to unzip (i.e., decompress) that Zip file.
2422

2523

2624
## Instructions
@@ -69,14 +67,4 @@ Execute the below to evaluate the correctness of your answers using `check50`. B
6967

7068
## How to submit
7169

72-
As soon as you're done, submit `answers.txt`, below!
73-
74-
1. Toward CS50 IDE's top-left corner, within its "file browser" (not within a terminal window), control-click or right-click your `answers.txt` file (that's within your `problems/sort` directory) and then select **Download**. You should find that your browser has downloaded `answers.txt`.
75-
76-
2. Make sure you are signed in to **this** website!
77-
78-
3. Type the names of students that you've worked with on this problem: <input name="form[samengewerkt]" type="text" required>
79-
80-
4. In the form below, choose the file that you just downloaded.
81-
82-
Your program will then again be checked using `check50` and the result will be recorded on this website. Should the check fail unexpectedly, be sure to try if `check50` is still satisfied when you run it in your IDE's Terminal.
70+
Type the names of students that you've worked with on this problem: <input name="form[samengewerkt]" type="text" required>

0 commit comments

Comments
 (0)