#55049: ANS


yp11452148@yphs.tp.edu.tw (708-12黃宥禎)


#include<iostream>
using namespace std;
int main()
{
int h;
cout << " "; 
cin >> h;
cout << " " << (h + 24 - 15) % 24 << endl;
}

 

 

 

it is very eASY OK?

#55050: Re: ANS


yp11452152@yphs.tp.edu.tw (708-13楊沐心)


#include
using namespace std;
int main()
{
int h;
cout << " "; 
cin >> h;
cout << " " << (h + 24 - 15) % 24 << endl;
}

okkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

 

 

it is very eASY OK?