#include <iostream>#include <stdio.h>using namespace std;int main(){ int x, y, z = 0; while (1) { printf("%d: ", ++z); scanf("%d%d", &x, &y); printf("%d %d\n", x + y >> 1, x + y <<.
#include <iostream>#include <stdio.h>using namespace std;int main(){ int x, y, z = 0; while (1) { printf("%d: ", ++z); scanf("%d%d", &x, &y); printf("%d %d\n", x + y >> 1, x + y <<.