fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a = 3
  6. b = a * 51;
  7. c = (a<<5)+(a<<4)+(a<<1)+(a);
  8.  
  9. cout<<b;
  10. cout<<c;
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'int main()':
prog.cpp:6:2: error: expected ',' or ';' before 'b'
  b = a * 51;
  ^
prog.cpp:7:2: error: 'c' was not declared in this scope
  c = (a<<5)+(a<<4)+(a<<1)+(a);
  ^
prog.cpp:9:8: error: 'b' was not declared in this scope
  cout<<b;
        ^
stdout
Standard output is empty