fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main() {
  6. string l = "lox3";
  7.  
  8. cout << l[2
  9. ];
  10. }
Success #stdin #stdout 0.01s 5288KB
stdin
6
1 0 1
1 1 2
1 2 3
2 0
2 1
2 2
stdout
x