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