Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //2 ez
- #include <iostream>
- int main() {
- int z, c, s;
- std::cin >> z >> c >>s;
- int blah = z + c + s;
- int bleh = blah;
- while (bleh % 3 != 0) {
- bleh++;
- }
- std::cout << bleh - blah;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement