2 solutions

  • 1
    @ 2025-7-15 9:56:57

    #include <bits/stdc++.h>

    using namespace std;

    int main() {

    int a;
    
    cin >> a ;
    
    if (a>25) {
    
    	cout<<60-a+25;
    
    }
    
    else{
    
      cout<<25-a;
    
    }
    
    return 0;
    

    }

    • -1
      @ 2026-1-29 20:26:09

      #include using namespace std;

      int main() { int a; cin >> a; if (a > 25) { cout << 25 + 60 - a; } else { cout << 25 - a; } return 0; }

    • 1

    Information

    ID
    118
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    6
    Tags
    # Submissions
    209
    Accepted
    68
    Uploaded By