jjjjjjjjjjddddddddddoych2023-07-23 11:45:59发布于:浙江1阅读0回复0点赞#include<iostream> using namespace std; int main(){ int year; cin>>year; if((year%4 == 0 && year%100 != 0) || year%400 == 0){ cout<<"Y"; } else{ cout<<"N"; } return 0; } 有帮助,赞一个去预览0/2000发布这里空空如也
有帮助,赞一个