Skip to content

Commit

Permalink
Add Roman library
Browse files Browse the repository at this point in the history
  • Loading branch information
ishanpranav committed Feb 13, 2024
1 parent 08e7781 commit 37ecdb9
Show file tree
Hide file tree
Showing 9 changed files with 1,142 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ all: \
id0068$(E) id0069$(E) id0070$(E) id0071$(E) id0072$(E) id0073$(E) \
id0074$(E) id0075$(E) id0076$(E) id0077$(E) id0078$(E) id0079$(E) \
id0080$(E) id0081$(E) id0082$(E) id0083$(E) id0084$(E) id0085$(E) \
id0086$(E) id0087$(E) id0088$(E)
id0086$(E) id0087$(E) id0089$(E)

libeuler$(A): $(call RECURSE,lib,*.c)
$(RM) *.o
Expand Down Expand Up @@ -303,5 +303,8 @@ id0086$(E): src/id0086.c libeuler$(A)
id0087$(E): src/id0087.c libeuler$(A)
$(CC) $(CFLAGS) $< -o $@ $(LEULER) $(LM)

id0089$(E): src/id0089.c libeuler$(A)
$(CC) $(CFLAGS) $< -o $@ $(LEULER) $(LM)

clean:
$(RM) *$(A) *.o
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ which is licensed under the GNU Lesser General Public License v3.0 (`LGPL-3.0`).
| 85 | [Counting Rectangles](src/id0085.c) | Geometry | Area | |
| 86 | [Cuboid Route](src/id0086.c) | Geometry | Minimum | |
| 87 | [Prime Power Triples](src/id0087.c) | Number theory | Count | [Hash set](https://en.wikipedia.org/wiki/Hash_table) |
| 89 | [Roman Numerals](src/id0089.c) | Numeral systems | Difference | [Roman numerals](https://en.wikipedia.org/wiki/Roman_numerals) |

## LeetCode

Expand Down
Loading

0 comments on commit 37ecdb9

Please sign in to comment.