# 12872 - Ruby and Sapphire >author: Utin ###### tags: `math` --- ## Brief See the code below ## Solution 0 ```c= #include <stdio.h> int main() { int n, m; scanf("%d %d", &n, &m); printf("%d %d\n", (7 * n - m) / 2, (m - 5 * n) / 2); } // By Utin ``` ## Reference
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up