fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a = 5;
  6. if (true) {
  7. std::cout << a << "\n";
  8. int a = 1;
  9. std::cout << a << "\n";
  10. }
  11. return 0;
  12. }
Success #stdin #stdout 0s 4360KB
stdin
Standard input is empty
stdout
5
1