题号:NC15531
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 128 M,其他语言256 M
64bit IO Format: %lld
题目描述
Due to unpredictable accidents, The Third Chang′an University ACM−ICPC Programming Competition will be postponed for x minutes. We have known that the competition should have started at 12:00, and the duration of it is 5 hours. As a participant, you want to know when is the ending time.
Please print the ending time in the form of
hh:mm,
hh is the hours with range of 00 to 24 and the
mm is the minutes with range of 00 to 59.
输入描述:
The first line contains an integer number T,the number of test cases.
ith of each next T lines contains an integer x(1≤x≤300), the number of minutes competition will postpone.
输出描述:
For each test case print the the ending time in the form of hh:mm.