摘要:
1 #include<stdio.h> 2 3 int main(void) 4 { 5 int year; 6 int month; 7 int day; 8 int a[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; 9 int 阅读全文
摘要:
1 #include<stdio.h> 2 3 int main(void) 4 { 5 int n; 6 7 scanf("%d", &n); 8 9 for (int i = 1; i <= n; i++) 10 { 11 if (i % 2 == 1) 12 { 13 if ((i == n) 阅读全文
摘要:
1 #include<stdio.h> 2 3 int main(void) 4 { 5 int bjt; 6 7 scanf_s("%d", &bjt); 8 9 int bjt_hour = bjt / 100; 10 int bjt_minute = bjt % 100; 11 12 int 阅读全文