| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 466 | 龚施宇 | 判断某年某月天数 | C++ | Wrong Answer | 0 | 0 MS | 256 KB | 320 | 2019-09-19 22:27:49 |
#include<iostream> int main(){ int a,b; scanf("%d %d",&b,&a); if(a==1||a==3||a==5||a==7||a==8||a==10||a==12){ printf("31/n"); }else { }if(a==4||a==6||a==9||a==11){ printf("30/n"); }else{ if(a==2){ if(b%4==0&&b%100!=0); printf("29/n"); } } return 0; }