Programación en C muy simple, ¿por qué OJ dice que se excede el límite de salida?
Agrega positivo = 0, cero = 0, negativo = 0 al tiempo
Ponlo en la línea de abajo
¿No cambió ese Señor del Vacío? ¿No quiere int main?
scanf(" d ", ampt); No es necesario. Eso es todo. Scanf ("d ",;t);
# incluir ltstdio.h gt
int main()
{int n, I, positivo=0 , cero = 0, negativo = 0; flotante t;
while(scanf("d ", ampn)!EOF amp ampn!=0)
{
Positivo=0, cero=0, negativo=0;
for(I = 0;iltn;i)
{
scanf(" f ", ampt);
if(t gt; 0)
Positivo;
Otro
{
Si (t==0)
Cero;
Otro
Negativo;
}
}
printf("d d d\n ", número negativo, cero, número positivo);
}
Devuelve 0;
}
Sí, aire acondicionado