fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. class Zombie {
  5. public:
  6. static void setMax(int a_in, int b_in, int c_in) {
  7. a = a_in;
  8. b = b_in;
  9. c = c_in;
  10. }
  11. private:
  12. static int a, b, c;
  13. };
  14.  
  15. int Zombie::a;
  16. int Zombie::b;
  17. int Zombie::c;
  18.  
  19. int main() {
  20. Zombie::setMax(3, 4, 5);
  21. return 0;
  22. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty