Add everything I got

This commit is contained in:
2023-12-01 14:20:13 +01:00
parent e2343da168
commit 7d709d6f24
13 changed files with 424 additions and 1 deletions

15
1a.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
max=0
c=0
while read a; do
if [[ -z "$a" ]]; then
[[ $c -gt $max ]] && max=$c
c=0
else
let c+=$a
fi
done
echo $max