結果
問題 |
No.8001 確率論ってこういうものですよね
|
ユーザー |
|
提出日時 | 2014-12-25 23:39:52 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 300 bytes |
コンパイル時間 | 607 ms |
コンパイル使用メモリ | 57,384 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-12 23:34:19 |
合計ジャッジ時間 | 1,111 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 WA * 6 |
ソースコード
#include<iostream> #include<algorithm> #include<string> using namespace std; double x, y; int main(){ cin >> x >> y; if(x == 0)cout << 0 << " "<< 0 << endl; else if(y == 1)cout << 0 << " "<< 0 << endl; else if(x == 1 && y == 0)cout << 1 << " "<< 1 << endl; else cout << 0 << " "<< 1 << endl; }