2 solutions

  • 2
    @ 2025-11-21 19:08:18
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int n,m;
        cin>>n>>m;
        int y=n*3+m*60;
        if(y>=480) cout<<"Yes";
        else cout<<"No";
        return 0;
    }
    
    • -1
      @ 2025-10-7 16:10:55

      #include<bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a>>b; int s=a*3/60; int d=s+b; if (d>=8) { cout<<"Yes"; } else if (d<8) { cout<<"No"; } return 0; }

      • 1

      Information

      ID
      2827
      Time
      1000ms
      Memory
      64MiB
      Difficulty
      1
      Tags
      # Submissions
      63
      Accepted
      27
      Uploaded By