Subtask #0和Subtask #2都是对的,但Subtask #1中的第2、3、4、7、8、9、11、20、29、36、46、59、60、62、69、71、94全WA,提了三次,没一次全对,咋搞的?望各位大犇指出错误,不胜感激。
程序:
#include<bits/stdc++.h>
using namespace std;
long long int c;
int a,b;
int M1=sqrt(INT_MAX),M2=sqrt(INT_MIN);
int main(){
cin>>a>>b;
if(a!=0&&b!=0&&((a>M1||b>M1)||(a<M2||b<M2))){
cout<<"long long int";
}else{
cout<<"int";
}
}