// UVa 11044 - Searching for Nessy #include <iostream> using namespace std; int main() { int n, m, t; for (cin >> t; t; t--) { cin >> n >> m; cout << (n / 3) * (m / 3) << endl; } return 0; }
No comments:
Post a Comment