Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- long long int n, num, tel, amz;
- cin >> n;
- amz = n % 123;
- n /= 123;
- tel = 13 - n % 13;
- num = (n + tel) / 13;
- cout << num << "," << tel << "," << amz;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement