# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
22189 | 2017-04-29T15:53:24 Z | 느그팀(#1034, ainta) | 시간과 날짜 (KRIII5P_1) | C++ | 0 ms | 1116 KB |
#include<cstdio> int w[13]={-1,31,29,31,30,31,30,31,31,30,31,30,31}; int main(){ int a, b, TC; scanf("%d",&TC); while(TC--){ scanf("%d%d",&a,&b); if(a>=24 || b>=60)printf("No "); else printf("Yes "); if(a>=13 || w[a]<b)printf("No\n"); else printf("Yes\n"); } }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Partially correct | 0 ms | 1116 KB | Output is partially correct |