Cod sursa(job #3265693)
Utilizator | Data | 2 ianuarie 2025 15:51:01 | |
---|---|---|---|
Problema | Bool | Scor | 0 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream>
using namespace std;
int main()
{
int n;
bool nul;
cin>>n;
if(n!=0)
nul=false;
else
nul=true;
cout<<char(nul);
return 0;
}