Cod sursa(job #109902)
Utilizator | Data | 25 noiembrie 2007 12:55:17 | |
---|---|---|---|
Problema | Ecuatie | Scor | 0 |
Compilator | cpp | Status | done |
Runda | preONI 2008, Runda 1, Clasele 5-8 | 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;
}