sina92:
int time, x, y = 10;
That defines three variables and initialises one of them. It's not Arduino-specific, this is just C++.
If you want to declare them like that and initialise them all, you need to initialise them all.
int time = 10, x = 10, y = 10;