알고리즘

[알고리즘] 백준 31614 - 分 (Minutes) (C++)

blueberrysoda 2025. 5. 22. 23:24

[문제 링크] : https://www.acmicpc.net/problem/31614

#include <iostream>
using namespace std;

int main(){
    int H, M;
    cin >> H >> M;
    cout << H * 60 + M << "\n";
    return 0;
}