//#pragma comment(linker, "/STACK:1024000000,1024000000")#include #include #include #include #include #include #include #include #include #include
res; for(int i=1;i<=n;i++) if(num[i]>0)res.push_back(num[i]); sort(res.begin(),res.end()); printf("%d\n",res.size()); for(int i=0;i