#include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define FOR(x,y) for(int x = 0;x < (y);x++) #define LLI long long int #define FORR(x,arr) for(auto& x:arr) #define ALL(a) (a.begin()),(a.end()) #define _L(x) cout<<(x)<> n; FOR(i, n) { LLI d, x, t; cin >> d >> x >> t; auto r = dp[d][x]; cout << r << endl; if(r <= t) { cout << "AC" << endl; } else { cout << "ZETUBOU" << endl; } } return 0; }