From 7fb36ba69063f2152e8b581ce23c9463ce41abc0 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 1 Dec 2020 00:17:47 -0500 Subject: Solve day 1 part 2 41.66 real 39.15 user 1.98 sys --- 2020/day01-2.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 2020/day01-2.sh (limited to '2020/day01-2.sh') diff --git a/2020/day01-2.sh b/2020/day01-2.sh new file mode 100644 index 0000000..6f26437 --- /dev/null +++ b/2020/day01-2.sh @@ -0,0 +1,13 @@ +#!/bin/sh +set -eu +entries=$(cat) +for i in $entries; do + for j in $entries; do + for k in $entries; do + if [ $((i+j+k)) -eq 2020 ]; then + echo $((i*j*k)) + exit + fi + done + done +done -- cgit 1.4.1 libtls for OpenSSL
summary refs log tree commit diff
path: root/libtls.pc.in (unfollow)
Commit message (Collapse)Author
2021-04-18build: Remove added x509_verify.3 links 3.3.2June McEnroe
2021-04-18tls: Use EC_KEY_set_ex_dataJune McEnroe
2021-04-18Import LibreSSL 3.3.2June McEnroe
2021-03-05Bump version to 3.3.1p1 3.3.1p1June McEnroe
2021-03-05build: Add OpenSSL includes to libcompatJune McEnroe
Some compat sources (getentropy_linux.c for example) require OpenSSL. Reported by Robert Scheck.
2020-12-15Import LibreSSL 3.3.1June McEnroe
2020-11-24Import LibreSSL 3.3.0June McEnroe
2020-10-22Import LibreSSL 3.2.2June McEnroe
2020-09-29Import LibreSSL 3.2.1June McEnroe
2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe
2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe
2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe