fork download
  1. #include <iostream>
  2. #include <math.h>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7. // your code goes here
  8. char a[255];
  9. char i = 0;
  10. long maxprimenow = 0;
  11. long check = 0;
  12. char round = 0;
  13. cin >> a;
  14. if (a[0] == 0) {
  15. cout<<"0";
  16. }
  17. else {
  18. cout<<"1";
  19. }
  20.  
  21. return 0;
  22. }
Success #stdin #stdout 0s 4416KB
stdin
11245
91321150448
1226406
0
stdout
1