# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
22178 | sdfgsfg (#42) | 시간과 날짜 (KRIII5P_1) | C++11 | 26 ms | 2020 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |