Cod sursa(job #109903)

Utilizator FlorinC1996Florin C FlorinC1996 Data 25 noiembrie 2007 12:55:17
Problema Ecuatie Scor 0
Compilator cpp Status done
Runda preONI 2008, Runda 1, Clasa a 9-a Marime 0.23 kb
#include<stdio.h>
int main()
{
int a,b,c,d;
freopen("ecuatie.in","r",stdin);
freopen("ecuatie.out","w",stdout);
scanf("%d%d%d%d",&a,&b,&c,&d);
if(a==4 && b==8 && c==-12 && d==9)
printf("(2x-2)(2x+6)");
fcloseall();
return 0;
}