fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. void pierdwiastek(int x, int y)
  5. {
  6. x = 1;
  7. y = 0;
  8. cout<<x<<" "<<y<<endl;
  9. }
  10.  
  11. int main() {
  12. int x=5,y=8;
  13. pierdwiastek(x,y);
  14. cout<<x<<" "<<y<<endl;
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 5284KB
stdin
 1 2
stdout
1 0
5 8