Untitled
unknown
plain_text
3 years ago
279 B
4
Indexable
#include <iostream> using namespace std; int main(){ int a, b = 1, c = 0; cin >> a; if (a > 145) { cout << "NO"; return 0; } while (b < a) { c += 5; b++; } cout << c / 60 << " " << c % 60; return 0; }
Editor is loading...