1 solutions
-
0
#include <bits/stdc++.h> using namespace std; int s, t, x;
int main() { cin >> s >> t >> x; s = s * 60; t = t * 60; x = x * 60 + 30; if (x > s && x < t) { cout << "Yes"; } else if (t = 0) { t = 12 * 60; if (x > s && x < t) { cout << "Yes"; } } else { cout << "No"; }
嘻嘻
return 0;}
Information
- ID
- 4892
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 3
- Tags
- # Submissions
- 135
- Accepted
- 11
- Uploaded By