For each problem, there exists only one dynamic flag, and it looks like 'flag{xxxx}'. Feed the binary code with proper input and get a flag.