Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
361931 沈昊煊 【C1-12】今年天数 C++ 通过 100 3 MS 248 KB 169 2025-11-21 20:21:51

Tests(3/3):


#include<iostream> using namespace std; int main(){ int n; cin>>n; if(n%100!=0 && n%4==0 || n%400==0){ cout<<366; }else{ cout<<365; } return 0; }


测评信息: