摘要: #include "stdio.h" int main() { char a,b,c,d,e; a=getchar (); b=getchar (); c=getchar (); d=getchar (); e=getchar (); putchar (a); putchar (b); putchar (c); pu... 阅读全文
posted @ 2019-04-23 21:24 p201821440008 阅读(73) 评论(0) 推荐(0)
摘要: #include int main() { int a,b,c; scanf("%d%d%d",&a,&b,&c); if(a+b<=c||a+c<=b||b+c<=a) { printf("不是三角形"); } else if(a==b&&b==c&&c==a) { printf("等边三角形"); ... 阅读全文
posted @ 2019-04-23 21:18 p201821440008 阅读(90) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-03-25 11:54 p201821440008 阅读(98) 评论(0) 推荐(0)
摘要: #include <stdio.h>int main() { int year; scanf("%d", &year); if ((year % 100 !=0 &&year % 4 == 0)|| year %400==0){ printf("YES\n"); } else{printf("NO" 阅读全文
posted @ 2019-03-11 21:12 p201821440008 阅读(87) 评论(0) 推荐(0)