Untitled
unknown
plain_text
2 years ago
179 B
7
Indexable
#include <iostream>
using namespace std;
int main() {
int H, M, S;
cin >> H >> M >> S;
int sec = 12 * 3600 / 360;
cout << (H * 3600 + M * 60 + S) / float(sec);
}Editor is loading...
Leave a Comment