fork download
  1. //if then
  2. #include<bits/stdc++.h>
  3. using namespace std;
  4.  
  5. int main(){
  6. int n;
  7. cin>>n;
  8. if(n>0){
  9. cout<<n;
  10. }
  11. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
32766