2 solutions

  • 0
    @ 2025-7-7 15:24:25

    #include using namespace std;

    int main() { long long x, y, a; cin >> y >> x; y = y * 3; x = x * 60; a = x + y; if (a >= 480) cout << "Yes"; else cout << "No";

    return 0;
    

    }

    • 0
      @ 2025-7-7 15:23:54

      #include <bits/stdc++.h> using namespace std;

      int main() { double a, b; cin >> a >> b; if (a * 3 / 60 + b >= 8) cout << "Yes" << endl; else cout << "No" << endl; }

    • 1

    Information

    ID
    593
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    4
    Tags
    # Submissions
    128
    Accepted
    55
    Uploaded By