fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int a=0;
  7. for(int i=0;i<32;i++)a = (a|(1<<i));
  8. int b=(1<<31);
  9. cout<<b<<" "<<(char(-1))<<endl;;
  10. for(int i=0;i<256;i++)
  11. if(char(-1)==char(i))cout<<i;
  12. return 0;
  13. }
Success #stdin #stdout 0.01s 5460KB
stdin
Standard input is empty
stdout
-2147483648 �
255