0_0_36288178_7172.cpp: In function 'void solve()':
0_0_36288178_7172.cpp:30:17: error: 'ans' was not declared in this scope
ans=max(ans,(j-que[tot-1]-1)*h[que[tot]]);
^
0_0_36288178_7172.cpp: At global scope:
0_0_36288178_7172.cpp:37:11: error: expected constructor, destructor, or type conversion before '(' token
printf("%d\n",ans);
^
0_0_36288178_7172.cpp:38:1: error: expected declaration before '}' token
}
^
|