Cod sursa(job #594505)
Utilizator | Data | 8 iunie 2011 00:26:21 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.2 kb |
#include <iostream>
using namespace std;
template<class T>
int f(T x, T y)
{ return x+y;
}/*
int f(int x, int y)
{ return x-y;
}*/
int main()
{ int a=5;
float b=8.6;
cout<<f(a,b);
return 0;
}