fork(1) download
  1. #include <iostream>
  2. int t[]={1,2,3};
  3. int getValue(int i)
  4. {
  5. return "\5\3\8"[t[i]];
  6. }
  7. int main()
  8. {
  9. printf("%d",getValue(100));
  10. return 0;
  11. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
5