제출 #22178

#제출 시각아이디문제언어결과실행 시간메모리
22178sdfgsfg (#42)시간과 날짜 (KRIII5P_1)C++11
2 / 7
26 ms2020 KiB
#include <iostream> using namespace std; int main() { int c; cin >> c; while (c--) { int x, y; cin >> x >> y; if ((x >= 0 && x <= 23) && (y >= 0 && y <= 59)) cout << "Yes"; else cout << "No"; if ((x >= 1 && x <= 12) && (y >= 1 && y <= 31)) cout << " Yes"; else cout << " No"; cout << endl; } }
#Verdict Execution timeMemoryGrader output
Fetching results...