fork download
  1. import std.stdio;
  2.  
  3. void main()
  4. {
  5. int[] arr = [1,2,3,4,5];
  6. writeln(arr[$ / 2]);
  7. }
  8.  
Success #stdin #stdout 0s 5496KB
stdin
Standard input is empty
stdout
3