摘要: #include<iostream>#include<iomanip>#include<cmath>using namespace std;int main(){ int a,b,c; double s,p; cin>>a>>b>>c; p=(a+b+c)/2.0; s=sqrt(p*(p-a)*( 阅读全文
posted @ 2017-07-27 11:03 方尊 阅读(89) 评论(0) 推荐(0)
摘要: 用了一个“假方法“ #include<iostream>using namespace std;int main(){ long long n,y,r,s; cin>>s; r=s/(60*60*24); y=r/30; n=y/12; n=n+1970; y=y%12+1; r=r%30+1; c 阅读全文
posted @ 2017-07-27 08:52 方尊 阅读(101) 评论(0) 推荐(0)