a53

nrcurat

a53
Dec 30th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3.  
  4. ifstream in("nrcurat.in");
  5. ofstream out("nrcurat.out");
  6.  
  7. int main()
  8. {
  9. int n;
  10. while(in>>n)
  11. if(n%9)
  12. out<<0<<" ";
  13. else
  14. out<<1<<" ";
  15. }
Add Comment
Please, Sign In to add comment