結果
問題 | No.1381 Simple Geometry 1 |
ユーザー |
|
提出日時 | 2021-02-07 20:36:16 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 151 bytes |
コンパイル時間 | 548 ms |
コンパイル使用メモリ | 69,144 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-04 13:39:49 |
合計ジャッジ時間 | 1,429 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 29 |
コンパイルメッセージ
main.cpp:5:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 5 | main() | ^~~~
ソースコード
#include<iostream>#include<iomanip>using namespace std;long X,Y,Z,W;main(){cin>>X>>Y>>Z>>W;cout<<fixed<<setprecision(16)<<(X-Y*Z)/2.<<endl;}