結果
問題 |
No.450 ベー君のシャトルラン
|
ユーザー |
|
提出日時 | 2017-02-15 18:00:34 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 140 bytes |
コンパイル時間 | 595 ms |
コンパイル使用メモリ | 64,588 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-29 23:30:10 |
合計ジャッジ時間 | 1,488 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
コンパイルメッセージ
main.cpp:2:21: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 2 | using namespace std;main(){double l,r,d,w;cin>>l>>r;cin>>d;cin>>w;cout.precision(7);cout<<fixed;cout<<d*w/(l+r)<<endl;} | ^~~~
ソースコード
#include <iostream> using namespace std;main(){double l,r,d,w;cin>>l>>r;cin>>d;cin>>w;cout.precision(7);cout<<fixed;cout<<d*w/(l+r)<<endl;}