Find the cpp solution as well as the problem link for the following problem domains.
Memoization: TRT.cpp- SPOJ:Treat for the cows https://www.spoj.com/problems/TRT/
Memoization: TWENDS.cpp - SPOJ:TWENDS-Two Ends https://www.spoj.com/problems/TWENDS/
BFS coloring: BUGLIFE.cpp - SPOJ:BUGLIFE - A Bug’s Life https://www.spoj.com/problems/BUGLIFE/
Dijkstra's: HIGHWAYS.cpp - SPOJ:HIGHWAYS - Highways https://www.spoj.com/problems/HIGHWAYS/
BFS shortest path: AAC1.cpp - SPOJ:AAC1 - Atul and Aastha Chronicles 1 https://www.spoj.com/problems/AAC1/
PRMQ2.cpp - Chef and Prime Queries https://www.codechef.com/JUNE17/problems/PRMQ
CHEFEXQ.cpp - Chef and Easy XOR Queries https://www.codechef.com/DEC17/problems/CHEFEXQ
SEACO.cpp - Sereja and Commands https://www.codechef.com/SEPT17/problems/SEACO
RMQSegTree.cpp
BROCLK.cpp - https://www.codechef.com/FEB18/problems/BROCLK
CHEFCCYL.cpp - https://www.codechef.com/OCT17/problems/CHEFCCYL
CHEFCODE.cpp - https://www.codechef.com/MAY17/problems/CHEFCODE
PERMPAL.cpp - https://www.codechef.com/FEB18/problems/PERMPAL
CHEFDICE.cpp - https://www.codechef.com/LTIME52/problems/CHEFDICE