0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-25 08:11:59 +00:00

B2019 整型与布尔型的转换

R53340863
This commit is contained in:
Baoshuo Ren 2021-07-16 20:53:14 +08:00 committed by Baoshuo Ren
parent 2f59e33006
commit d89b5a3fc2
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

View File

@ -0,0 +1,10 @@
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
cout << !!n << endl;
return 0;
}