请问这个代码那里不对,应该怎么写
# include <stdio.h># include <stdlib.h>
int main(void)
{
int i[12] = {i[1] = 3600, i[2] = 3600 * 2, i[3] = 3600 * 3, i[4] = 3600 * 4, i[5] = 3600 * 5, i[6] = 3600 * 6, i[7] = 3600 * 7, i[8] = 3600 * 8, i[9] = 3600 * 9, i[10] = 3600 * 10, i[11] = 3600 * 11, i[12] = 3600 * 12};
int j;
printf(":");
scanf("%d", &j);
system("shutdown -s -t i[j]");
return 0;
}