#1974: I will give you the answer but one chicken cover(雞包)


1753980-3@g.puiching.edu.mo (P5A31蒲雋浠)

School : Pui Ching Middle School
ID : 2571
IP address : [192.168.120.33]
Last Login :
2025-06-09 13:37:17
a015. 妳那裡現在幾點了? | From: [192.168.120.33] | Post Date : 2025-04-22 19:31

#include <iostream>

using namespace std;

 

int main() {

    int h;

    cin >> h;

    int us_time = (h - 15 + 24) % 24;

    cout << us_time << endl;

    return 0;

}

 
ZeroJudge Forum