@@ -0,0 +1,17 @@
#!/usr/bin/env bash
sum=0
while read a; do
IFS=, read x y <<< $a
IFS=- read x1 x2 <<< $x
IFS=- read y1 y2 <<< $y
if [[ $(( (x1 - y2) * (x2 - y1) )) -le 0 ]]; then
let sum++
fi
done
echo $sum
The note is not visible to the blocked user.