Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions btn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This program prints a long string having no white-space characters, given a text
## Usage

```
./btn N < TEXT_FILE_NAME
btn N < TEXT_FILE_NAME
Comment thread
logic-finder marked this conversation as resolved.
Outdated

where
N = the number of characters before a new-line character;
Expand All @@ -31,4 +31,4 @@ python btn.py N < TEXT_FILE_NAME

```
ghc buntang.hs
```
```
9 changes: 6 additions & 3 deletions hd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ This program adds the string `"# "` to the beginning of the stdin and prints it,
## Usage

```
./hd TEXT
hd < TEXT_FILE_NAME
Comment thread
logic-finder marked this conversation as resolved.
Outdated

where
TEXT_FILE_NAME = the file name to be input-redirected.
```

## Implementations
Expand All @@ -15,7 +18,7 @@ This program adds the string `"# "` to the beginning of the stdin and prints it,
This implementation does not support trim.

```sh
clang hd.c -o hd
make
```

### C++
Expand All @@ -42,4 +45,4 @@ rustc hd.rs -C debuginfo=0 -C opt-level=z -C strip=symbols -o hd

```
bun test
```
```
4 changes: 2 additions & 2 deletions hhss/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ P.S. hhss is an incorrect initialism for hweng-seol-su-seol, which means gibberi
## Usage

```
./hhss NUM_SENTENCES
hhss NUM_SENTENCES
Comment thread
logic-finder marked this conversation as resolved.
Outdated

where
NUM_SENTENCES = the number of sentences to print out.
Expand Down Expand Up @@ -40,4 +40,4 @@ mkdir build
cd build
cmake ..
make
```
```
4 changes: 2 additions & 2 deletions nsy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This program generates a "noisy" sentence by including an exclamation/question m
## Usage

```
./nsy MARK_KIND < TEXT_FILE_NAME
nsy MARK_KIND < TEXT_FILE_NAME
Comment thread
logic-finder marked this conversation as resolved.
Outdated

where
MARK_KIND = e | q (exclamation or question)
Expand Down Expand Up @@ -46,4 +46,4 @@ In Linux,
make all
```

In Windows, use Visual Studio 2022.
In Windows, use Visual Studio 2022.
22 changes: 22 additions & 0 deletions nsy2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Introduction

This program generates a "noisy" sentence by including an exclamation/question mark between each words.
Comment thread
logic-finder marked this conversation as resolved.
Outdated

## Usage

```
nsy2 MARK_KIND < TEXT_FILE_NAME
Comment thread
logic-finder marked this conversation as resolved.
Outdated

where
MARK_KIND = e | q (exclamation or question)
= eu | qu (upside down)
TEXT_FILE_NAME = the file name to be input-redirected.
```

## Implementations

### C

```
make
```
6 changes: 3 additions & 3 deletions yandere/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ This program prints a yandere-like string to stdout, *ad infinitum*.
## Usage

```
./yandere
yandere
Comment thread
logic-finder marked this conversation as resolved.
Outdated
```

## Implementations

### C

```
gcc -o yandere yandere.c
make
```

### Haskell

```
ghc yandere.hs
```
```