fork download
  1. use std::io::stdin;
  2. use std::io::BufRead;
  3. use std::io::BufReader;
  4.  
  5. fn main() {
  6. let a = 5;
  7. if (true) {
  8. println!("{}", a);
  9. let a = 1;
  10. println!("{}", a);
  11. }
  12. }
  13.  
Success #stdin #stdout 0s 4252KB
stdin
Standard input is empty
stdout
5
1