fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. hash<int> hs;
  7. a= 5;
  8. cout << hs(a);
  9. // your code goes here
  10. return 0;
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:7:2: error: ‘a’ was not declared in this scope
  a= 5;
  ^
stdout
Standard output is empty