1 #include<stdio.h> 2 #include<iostream> 3 #include<algorithm> 4 #include<math.h> 5 #include<string.h> 6 #include<string> 7 #include<map> 8 #include<set> 9 #include<vector> 10 #include<queue> 11 #define M(a,b) memset(a,b,sizeof(a)) 12 using namespace std; 13 typedef long long ll; 14 const int inf=0x3f3f3f; 15 int main(){ 16 ll q,p; 17 while(~scanf("%lld%lld",&q,&p)){ 18 ll z=q/2; 19 ll x=q-z; 20 if(z*x>p) printf("F\n"); 21 else printf("T\n"); 22 } 23 return 0; 24 } 25 /* 26 27 28 29 */
时间: 2024-10-08 13:44:10