fork download
  1. #include <cstdio>
  2.  
  3. using namespace std;
  4.  
  5. int main(){
  6. int a = -15;
  7. printf("%d\n", a);
  8. a = (a << 29);
  9. printf("%d\n", a);
  10.  
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0.01s 2724KB
stdin
Standard input is empty
stdout
-15
536870912