Cod sursa(job #213274)

Utilizator FoaiaFoaia de Hartie Foaia Data 9 octombrie 2008 01:01:50
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.26 kb
#include <stdio.h>
#include <algorithm>
 
using namespace std;
 
double a, b;

int main()
{
	freopen("adunare.in","r",stdin);
	freopen("adunare.out","w",stdout);
	scanf("%lf %lf", &a, &b);
	long double x = a + b;
	printf("%.2Lf\n", x);
	return 0;
}