0_0_14507066_25367.cpp:1:1: error: 'priority_queue' does not name a type
priority_queue<int,vector<int>,greater<int> > que;
^
0_0_14507066_25367.cpp:4:1: error: '__int64' does not name a type
__int64 ans;
^
0_0_14507066_25367.cpp: In function 'int main()':
0_0_14507066_25367.cpp:8:15: error: 'scanf' was not declared in this scope
scanf("%d",&t);
^
0_0_14507066_25367.cpp:11:10: error: 'que' was not declared in this scope
while(!que.empty()) que.pop();
^
0_0_14507066_25367.cpp:14:4: error: 'que' was not declared in this scope
que.push(j);
^
0_0_14507066_25367.cpp:16:3: error: 'ans' was not declared in this scope
ans=0;
^
0_0_14507066_25367.cpp:18:6: error: 'que' was not declared in this scope
i=que.top();que.pop();
^
0_0_14507066_25367.cpp:25:23: error: 'printf' was not declared in this scope
printf("%I64d\n",ans);
^
|