#27892: 點進來保證對


s010558@student.cysh.cy.edu.tw (朱予翔)


 #include <bits/stdc++.h>

using namespace std;


int main()
{

    int a,b,c,s;
     while(cin>>a>>b>>c)
    {

       s=(a+b+c)/2;
      cout<<(s*(s-a)*(s-b)*(s-c))<<endl;

    }


    return 0;
}
#45277: Re: 點進來保證對


Xcode (Xcode)


 #include

using namespace std;


int main()
{

    int a,b,c,s;
     while(cin>>a>>b>>c)
    {

       s=(a+b+c)/2;
      cout<<(s*(s-a)*(s-b)*(s-c))<<endl;

    }


    return 0;
}

這跟海龍有什麼關係???