fork download
  1. #include <iostream>
  2. #include <set>
  3.  
  4. void f(std::set<int> s) { std::cout << *s.begin() << std::endl; }
  5.  
  6. int main()
  7. {
  8. f({ 115, 109, 107, 101, 92, 85, 76, 66, 65, 62, 53, 49, 40, 38, 35, 25, 23,
  9. 17, 9, 2, 0, 5, 8, 10, 11, 20, 30, 37, 42, 47 });
  10. f({ 110, 104, 96, 93, 84, 83, 87, 93, 98, 103, 113, 120, 121, 128, 133, 134,
  11. 142, 152, 159, 169, 171, 174, 183, 186, 196, 203, 210, 212, 221, 224 });
  12. f({ 138, 135, 127, 124, 122, 112, 103, 98, 92, 87, 77, 73, 71, 63, 59, 51,
  13. 41, 36, 45, 54, 63, 71, 81, 88, 90, 98, 105, 112, 114, 119 });
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 4492KB
stdin
Standard input is empty
stdout
0
83
36