#include <iostream>
#include<iomanip>
using namespace std;
int main()
{
int a, b, c, n;
while (cin >> n)
{
if (n != 0)
{
a = b = c = 0;
while (n--)
{
double p;
cin >> p;
if (p < 0)
a++;
if (p ==0)
b++;
if (p > 0)
c++;
}
cout << a << " " << b << " " << c << endl;
}
}
return 0;
}
小熊崽纸的杭电2008
最新推荐文章于 2020-07-30 15:08:08 发布