浏览代码

Added ANSWERS.md with runtime analysis.

Lorenz 7 年前
父节点
当前提交
55f1a204b3
共有 1 个文件被更改,包括 36 次插入0 次删除
  1. 36
    0
      hw7/task1/ANSWERS.md

+ 36
- 0
hw7/task1/ANSWERS.md 查看文件

@@ -0,0 +1,36 @@
1
+# Task 1 - Laufzeitanalyse
2
+
3
+Bei unseren Tests au der Labshell bekamen wir folgende Werte:
4
+
5
+```text
6
+cargo run --release -- 42 12 timings
7
+[...]
8
+(Duration 0s / 0ms / 239us)
9
+```
10
+
11
+```text
12
+cargo run --release -- 42 123 timings
13
+[...]
14
+(Duration 0s / 8ms / 8027us)
15
+```
16
+
17
+```text
18
+cargo run --release -- 42 1234 timings
19
+[...]
20
+(Duration 0s / 95ms / 95245us)
21
+```
22
+
23
+```text
24
+cargo run --release -- 43 12345 timings
25
+[...]
26
+(Duration 0s / 484ms / 484376us)
27
+```
28
+
29
+```text
30
+cargo run --release -- 43 123456 timings
31
+[...]
32
+(Duration 13s / 13711ms / 13711554us)
33
+```
34
+
35
+Diese Messwerte lassen auf ein exponentielles Wachstum der Laufzeit
36
+pro hinzukommender Stelle schließen.

正在加载...
取消
保存