mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-07-08 02:13:51 +08:00
Update: Rename folder name to XSMOJ
This commit is contained in:
21
XSMOJ/小码君的概率学.cpp
Normal file
21
XSMOJ/小码君的概率学.cpp
Normal file
@ -0,0 +1,21 @@
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
#include <ctime>
|
||||
#include <cmath>
|
||||
using namespace std;
|
||||
int main(){
|
||||
int a,b;
|
||||
cin >>a>>b;
|
||||
if(a>b){
|
||||
cout <<"nO";
|
||||
}
|
||||
else if(a<b){
|
||||
cout <<"yEs";
|
||||
}
|
||||
else if(a==b){
|
||||
cout <<"equal probability";
|
||||
}
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user