add run time info and output info for baruch/1990

We updated `bugs.md` and `1990/baruch/README.md` to record run times
and output lines for input values from 4 to 20.
This commit is contained in:
Landon Curt Noll committed 2025-04-29 11:23:08 -07:00
1 parent dac5ee684f
commit 141a76338f
7 files changed
+111 -121

No files matched your search

BIN
View File
Binary file not shown.
Binary file not shown.
+30
View File
@@ -59,6 +59,36 @@ Use `baruch.alt` as you would `baruch`.
This program reads an integer between 4 and 99 from the `stdin`.
It is advisable to commence with relatively small integers, as the
duration and quantity of output can become substantial as the input
integer increases.
For instance, on a relatively generic computer in 2025, the following
execution times and output quantities were recorded:
```
| input | clock | user | system | lines of |
| value | time | time | time | output |
|-------|---------------------|---------------------|------------------|--------------|
| 4 | 0.001s | 0.001s | 0.001s | 11 |
| 5 | 0.002s | 0.001s | 0.002s | 61 |
| 6 | 0.002s | 0.002s | 0.002s | 29 |
| 7 | 0.003s | 0.002s | 0.002s | 321 |
| 8 | 0.003s | 0.002s | 0.003s | 829 |
| 9 | 0.006s | 0.004s | 0.006s | 3521 |
| 10 | 0.016s | 0.014s | 0.006s | 7965 |
| 11 | 0.071s | 0.068s | 0.008s | 32161 |
| 12 | 0.419s | 0.418s | 0.014s | 184601 |
| 13 | 2.589s | 2.564s | 0.075s | 1031969 |
| 14 | 16.509s | 16.457s | 0.331s | 5483941 |
| 15 | 1m 55.913s | 1m 55.173s | 2.397s | 36466945 |
| 16 | 14m 7.307s | 14m 2.427s | 16.652s | 251132705 |
| 17 | 1h 49m 37.938s | 1h 48m 59.355s | 2m 2.812s | 1724671873 |
| 18 | 14h 58m 13.506s | 14h 50m 22.572s | 14m 33.652s | 12655721857 |
| 19 | 5d 6h 9m 59.983s | 5d 5h 18m 31.147s | 2h 9m 29.490s | 99361156961 |
| 20 | 46d 9h 23m 23.095s | 46d 3h 31m 11.600s | 17h 58m 55.478s | 819612966565 |
```
**NOTE**: The original program did not have a newline at the end of the file. We
added a final newline to the file to make unpacking easy.
+25
View File
@@ -478,6 +478,31 @@ question. YMMV.</p>
<p>Use <code>baruch.alt</code> as you would <code>baruch</code>.</p>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>This program reads an integer between 4 and 99 from the <code>stdin</code>.</p>
<p>It is advisable to commence with relatively small integers, as the
duration and quantity of output can become substantial as the input
integer increases.</p>
<p>For instance, on a relatively generic computer in 2025, the following
execution times and output quantities were recorded:</p>
<pre><code> | input | clock | user | system | lines of |
| value | time | time | time | output |
|-------|---------------------|---------------------|------------------|--------------|
| 4 | 0.001s | 0.001s | 0.001s | 11 |
| 5 | 0.002s | 0.001s | 0.002s | 61 |
| 6 | 0.002s | 0.002s | 0.002s | 29 |
| 7 | 0.003s | 0.002s | 0.002s | 321 |
| 8 | 0.003s | 0.002s | 0.003s | 829 |
| 9 | 0.006s | 0.004s | 0.006s | 3521 |
| 10 | 0.016s | 0.014s | 0.006s | 7965 |
| 11 | 0.071s | 0.068s | 0.008s | 32161 |
| 12 | 0.419s | 0.418s | 0.014s | 184601 |
| 13 | 2.589s | 2.564s | 0.075s | 1031969 |
| 14 | 16.509s | 16.457s | 0.331s | 5483941 |
| 15 | 1m 55.913s | 1m 55.173s | 2.397s | 36466945 |
| 16 | 14m 7.307s | 14m 2.427s | 16.652s | 251132705 |
| 17 | 1h 49m 37.938s | 1h 48m 59.355s | 2m 2.812s | 1724671873 |
| 18 | 14h 58m 13.506s | 14h 50m 22.572s | 14m 33.652s | 12655721857 |
| 19 | 5d 6h 9m 59.983s | 5d 5h 18m 31.147s | 2h 9m 29.490s | 99361156961 |
| 20 | 46d 9h 23m 23.095s | 46d 3h 31m 11.600s | 17h 58m 55.478s | 819612966565 |</code></pre>
<p><strong>NOTE</strong>: The original program did not have a newline at the end of the file. We
added a final newline to the file to make unpacking easy.</p>
<h2 id="authors-remarks">Authors’ remarks:</h2>