mirror of
https://github.com/ada-dmitry/TMP_C712.git
synced 2026-09-24 09:10:16 +00:00
upgrade
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#include <stdio.h>
|
||||
|
||||
void move(int *px, int *py, int dx, int dy);
|
||||
|
||||
int main()
|
||||
{
|
||||
int x, y, dx, dy;
|
||||
int *px = &x, *py = &y;
|
||||
|
||||
scanf("%d%d%d%d", px, py, &dx, &dy);
|
||||
|
||||
move(px, py, dx, dy);
|
||||
|
||||
printf("%d %d\n", *px, *py);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user