func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int q;     cin >> q;     while (q--) {       int a, b, c;       cin >> a >> b >> c;       int temp = min(a, b);       if (temp * 3 <= a + b + c) {         cout << temp << endl;         continue;       } else {         cout << (a + b + c) / 3 << endl;         continue;       }     }     return 0;   }   