commit c0421a1d5a817a249b85e6ff26828f1830c2ae33 Author: Fredrik Robertsen Date: Thu Feb 19 15:59:44 2026 +0100 init diff --git a/assignment-2/LICENSE b/assignment-2/LICENSE new file mode 100644 index 0000000..8930fae --- /dev/null +++ b/assignment-2/LICENSE @@ -0,0 +1,7 @@ +MIT No Attribution + +Copyright 2025 Torstein NordgÄrd-Hansen + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/assignment-2/main.pdf b/assignment-2/main.pdf new file mode 100644 index 0000000..03853b0 Binary files /dev/null and b/assignment-2/main.pdf differ diff --git a/assignment-2/main.typ b/assignment-2/main.typ new file mode 100644 index 0000000..5fbd1d1 --- /dev/null +++ b/assignment-2/main.typ @@ -0,0 +1,57 @@ +#import "@preview/simple-ntnu-report:0.1.2": ntnu-report, un +#import "@preview/zero:0.5.0": num + +#let text-size = 12pt +#let white = rgb("#F8F8F2") +#let black = rgb("#282A36") +#let red = rgb("#FF5555") +#let orange = rgb("#FFB86C") +#let yellow = rgb("#F1FA8C") +#let green = rgb("#50FA7B") +#let cyan = rgb("#8BE9FD") +#let purple = rgb("#BD93F9") +#let pink = rgb("#FF79C6") + +#set page(fill: black) + +#set text(size: text-size, fill: white) + +#show: ntnu-report.with( + length: "short", + + title: "assignment 2", + subtitle: "tdt4125 - algorithm construction", + authors: ( + ( + name: "fredrik robertsen", + ), + ), + + date: datetime.today(), + + language: "english", + column-number: 2, + + number-headings: false, + + show-toc: false, + show-figure-index: false, + show-table-index: false, + show-listings-index: false, +) + +#set text(size: text-size, fill: white) + +#show heading: set text(style: "italic") +#show heading: it => {box( + height: 14pt, + width: 90%, + outset: 5%, + radius: 25%, + fill: green, + align(horizon, text(fill: black, it.body)) +)} + +== task 1 + +hello world