摘要:
#include<iostream> using namespace std; int main() { __int64 n,m,i,j,sum; while(cin>>n) { n%=10000; sum=((n*(n+1)/2)*(n*(n+1)/2))%10000; printf("%04I6 阅读全文
摘要:
#include using namespace std;int main(int argc, char* argv[]){ double a,b,c; int i,n; while (cin>>n) { for(i=0;i>a>>b>>c; if(a+b>c&&a+c>b&&b+c>a) {cout<<"YES\n";} else {cout<<"NO\n";} } } return 0;} 阅读全文
摘要:
#include<iostream> int main() { using namespace std; int y,count; char x; cin>>count; while(count--){ cin>>x>>y; islower(x)?cout<<(96-x+y)<<endl:cout< 阅读全文