完成并修改正确必做题

This commit is contained in:
2026-05-16 21:52:40 +08:00
parent 119f0e7b3a
commit 1132d9e9a7
11 changed files with 444 additions and 30 deletions

View File

@@ -31,7 +31,7 @@ void *wokerT3(void *vargp)
for(int i=0; i<5; i++)
{
time_t t = time(NULL);
printf("Current time %s\n",ctime(&t));
printf("Current time %s",ctime(&t));
int sleep_time = rand() % 5 + 1;
sleep(sleep_time);
}