fork(1) download
  1. #include <iostream>
  2. #include <cmath>
  3. //using namespace std;
  4. namespace Sibling1 {
  5. float cos(float x) { return cosf(x); }
  6. }
  7. namespace Sibling2 {
  8. using namespace Sibling1;
  9. float f(float x) { return cos(x); }
  10. }
  11. int main() {
  12. }
Success #stdin #stdout 0s 4260KB
stdin
Standard input is empty
stdout
Standard output is empty