【題解】ZeroJudge d060: 還要等多久啊?

【題目敘述】https://zerojudge.tw/ShowProblem?problemid=d060

#include <iostream>
using namespace std;

int main() {
    int m;
    cin >> m;
    
    if (m <= 25) {
        cout << 25 - m << "\n";
    } else {
        cout << 60 - m + 25 << "\n";
    }
    
    return 0;
}
分享本文 Share with friends