結果
問題 |
No.787 Mice and Traitors(ネズミ達と裏切り者)
|
ユーザー |
|
提出日時 | 2019-02-08 22:18:36 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 317 bytes |
コンパイル時間 | 601 ms |
コンパイル使用メモリ | 67,096 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-01 11:35:13 |
合計ジャッジ時間 | 1,077 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 WA * 7 |
ソースコード
#include <iostream> #include <algorithm> #include <vector> #include <iomanip> #include <string.h> using namespace std; #define all(x) (x).begin(), (x).end() int main(){ int P, Q; cin >> P >> Q; cout << fixed << setprecision(10) << double(P * Q) / (P * Q * 2 - P * 100 - Q * 100 + 10000) * 100 << endl; }