#include "stdlib.h" #include "algorithm" #include "iostream" #include <cstdio> #include "string" #include <iomanip> #include <map> #include <set> #include "math.h" using namespace std; map<int, bool> mp; set<string> st; int main() { int a, b, c; cin >> a >> b >> c; printf("%d %d %.2lf",a+b+c,a*b*c,(a+b+c)/3.0); return 0; } |
Double click to view unformatted code.