Untitled
unknown
plain_text
a year ago
275 B
9
Indexable
////////////Set a *********divisible by 3 #include <bits/stdc++.h> using namespace std; int32_t main() { int t = 1; cin >> t; while (t--) { int n; cin >> n; int y = n % 3; int x = 3 - (n % 3); cout << x << " " << y << endl; } return 0; }
Editor is loading...
Leave a Comment