結果
問題 | No.1381 Simple Geometry 1 |
ユーザー |
|
提出日時 | 2021-02-07 20:49:17 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 255 bytes |
コンパイル時間 | 1,389 ms |
コンパイル使用メモリ | 165,584 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-04 13:53:45 |
合計ジャッジ時間 | 2,243 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 29 |
ソースコード
#include<bits/stdc++.h>using namespace std;int main(){ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);double x,y,z,w;cin>>x>>y>>z>>w;double ans = (x/2)-(y*z/2);cout<<fixed<<setprecision(7)<<ans<<endl;}