Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Interesting
- Используй ""s(строкосимвольный литерал), чтобы избежать ошибок.
- */
- #include <iostream>
- #include <string>
- int main() {
- int a, b;
- std::cin >> a >> b;
- std::string num = std::to_string(a + b);
- std::cout << (a + b) * num.size();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement