Help on code

I was solving the question " Berpizza "
link-> https://codeforces.com/problemset/problem/1468/C
I thought I could implement the solution using map of map. I wrote my code
link -> void solve(){ map<int,map<int,int>,greater<>>m;//price map<int,int>m - Pastebin.com
but the compiler is showing a “SIGTSTP” error. Any suggestion would be helpful. Thanks in advance.