結果

問題 No.8001 確率論ってこういうものですよね
ユーザー catupper
提出日時 2014-12-25 22:24:45
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 300 bytes
コンパイル時間 374 ms
コンパイル使用メモリ 57,188 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-12 23:09:11
合計ジャッジ時間 879 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;
	
}
0