Hi. I have been struggling to find solutions for these 2 problems: 1. https://codedrills.io/contests/icpc-amritapuri-2021-regional-round/problems/bitcoin 2. https://codedrills.io/contests/icpc-amritapuri-2021-regional-round/problems/mod-hull
Could someone please share their ideas?