[Plain]
# Include <stdio. h>
# Include <string. h>
Int main ()
{
Long;
Long B;
Long c;
Long d;
Long I;
Long k;
Char n [2, 100000];
While (gets (n )! = NULL)
{
A = B = c = d = 0;
K = strlen (n );
For (I = 0; I <k; I ++)
{
If (n [I]> = 'A' & n [I] <= 'Z ') | (n [I]> = 'A' & n [I] <= 'Z '))
A ++;
Else if (n [I]> = '0' & n [I] <= '9 ')
B ++;
Else if (n [I] = '')
C ++;
Else
D ++;
}
Printf ("% ld \ n", a, B, c, d );
}
# Include <stdio. h>
# Include <string. h>
Int main ()
{
Long;
Long B;
Long c;
Long d;
Long I;
Long k;
Char n [2, 100000];
While (gets (n )! = NULL)
{
A = B = c = d = 0;
K = strlen (n );
For (I = 0; I <k; I ++)
{
If (n [I]> = 'A' & n [I] <= 'Z ') | (n [I]> = 'A' & n [I] <= 'Z '))
A ++;
Else if (n [I]> = '0' & n [I] <= '9 ')
B ++;
Else if (n [I] = '')
C ++;
Else
D ++;
}
Printf ("% ld \ n", a, B, c, d );
} [Plain] view plaincopyprint? Return 0
Return 0 [plain] view plaincopyprint ?}
}