热门

最新

红包

立Flag

投票

同城

我的

发布
youcans
youcans
4 年前
trueyoucans

【youcans 的 OpenCV 例程200篇】130. 形态学之提取水平和垂直线
https://blog.csdn.net/youcans/article/details/123498231?spm=1001.2014.3001.5501

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
#include <stdio.h>int main(){ int year,leap; printf("输入年份:"); scanf("%d",&year); if(year%4==0){ if(year%100==0){ if(year%400==0) leap=1; else leap=0; }else leap=1; }else leap=0; if(leap) printf("%d是闰年\n",year); else printf("%d不是闰年\n",year); return 0;}
立即登录