Judger/tests/test_src/integration/uid_gid.c
2016-10-24 23:01:55 +08:00

10 lines
167 B
C

#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
int main()
{
printf("uid %d\ngid %d\n", getuid(), getgid());
system("/usr/bin/id");
return 0;
}