标签:
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 171 Accepted Submission(s): 100
1 //2016.9.10 2 #include <iostream> 3 #include <cstdio> 4 5 using namespace std; 6 7 long long fun(int m) 8 { 9 long long ans; 10 ans = (m/2)*(m/2); 11 if(m%2)ans += (m/2); 12 return ans; 13 } 14 15 int main() 16 { 17 long long n, m, res; 18 while(scanf("%lld%lld", &m, &n)!=EOF) 19 { 20 res = fun(m); 21 if(n>=res) 22 printf("T\n"); 23 else printf("F\n"); 24 } 25 26 return 0; 27 }
标签:
原文地址:http://www.cnblogs.com/Penn000/p/5861017.html