C++¶ Implementation¶ #include <cstdio> int main() { int a, b; scanf("%d %d", &a, &b); printf("%d\n", a + b - 1); return 0; } Was this page helpful? Thanks for your feedback! Thanks for your feedback!