A+B

viplzm Reply 30 weeks 4 days ago
#include <stdio.h> int calc(int a, int b) { return(!b ? a : calc(a ^ b, ((a & b) << 1))); } int main() { int a, b; scanf("%d%d", &a, &b); printf("%d", calc(a, b)); }
CCNU2015210818 Reply 19 weeks 1 hour ago