/in/foo.cc:3:2: error: invalid preprocessing directive #incldue
#incldue<algorithm>
^~~~~~~
/in/foo.cc:4:2: error: invalid preprocessing directive #incldue
#incldue<cstdio>
^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:22:31: warning: conversion lacks type at end of format [-Wformat=]
scanf("%D%d",&a[i].h,&a[i].t);
^
/in/foo.cc:22:31: warning: too many arguments for format [-Wformat-extra-args]
/in/foo.cc:23:20: error: 'sort' was not declared in this scope
sort(a+1,a+n+1,cmp);
^
/in/foo.cc:34:9: error: 't' was not declared in this scope
t-=q.top();
^
/in/foo.cc:41:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::priority_queue<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d",q.size());
^