๋ฌธ์ ๋งํฌ : https://codeup.kr/problemsetsol.php?psid=23
*1053๋ฒ
#include <iostream>
using namespace std;
int main(){
int a;
cin >> a;
cout << (a==0);
}
*1054๋ฒ
#include <iostream>
using namespace std;
int main(){
int a, b;
cin >> a>>b;
cout << (a==b and a==1);
}
*1055๋ฒ
#include <iostream>
using namespace std;
int main(){
int a, b;
cin >> a>>b;
cout << (a==1 or b==1);
}
*1056๋ฒ
#include <iostream>
using namespace std;
int main(){
int a, b;
cin >> a>>b;
cout << (a!=b);
}
*1057๋ฒ
#include <iostream>
using namespace std;
int main(){
int a, b;
cin >> a>>b;
cout << (a==b);
}
*1058๋ฒ
#include <iostream>
using namespace std;
int main(){
int a, b;
cin >> a>>b;
cout << (a==b and a==0);
}
*ํ์ด์ฌ ํ์ด๋ code up ์นดํ
๊ณ ๋ฆฌ์ ์์ต๋๋ค.