HDU-2033(人见人爱A+B)
来源:互联网 发布:电脑监控软件 编辑:程序博客网 时间:2024/06/05 06:37
题目链接:https://vjudge.net/problem/HDU-2033
#include <iostream>#include <cstdio>#include <cstring>#include <algorithm>using namespace std;int main(){ int h, m, s; int t; scanf("%d", &t); while(t--) { int a1, b1, c1, a2, b2, c2; scanf("%d%d%d%d%d%d", &a1, &b1, &c1, &a2, &b2, &c2); s = (c1 + c2)%60; m = ((b1 + b2) + (c1 + c2)/60)%60; h = ((a1 + a2) + (b1 + b2 + (c1 + c2)/60)/60); printf("%d %d %d\n", h, m, s); } return 0;}
阅读全文
0 0
- hdu 2033 人见人爱A+B
- HDU 2033 人见人爱A+B
- HDU-2033人见人爱A+B
- HDU 2033 人见人爱A+B
- HDU 2033 人见人爱A+B
- hdu-2033-人见人爱A+B
- HDU 2033 - 人见人爱 A + B
- hdu 2033 人见人爱A+B
- [hdu 2033] 人见人爱A+B
- hdu-2033-人见人爱A+B
- HDU 2033 人见人爱A+B
- HDU 2033 人见人爱A+B
- HDU 2033 人见人爱A+B
- HDU 2033 人见人爱A+B
- hdu 2033 人见人爱A+B
- HDU 2033 人见人爱A+B
- 人见人爱A+B HDU 2033
- HDU 2033 人见人爱A+B
- React 例子
- LinuxC 网络编程(一)
- 【Android Studio】入门系列6.1.打包
- HDU-1230(火星A+B)
- Ingreslock1524端口后门漏洞
- HDU-2033(人见人爱A+B)
- 字符串数组存值
- JSP页面判断后台时间与当前时间相差的天数
- Android开发各类常见错误解决方案(不断更新中)
- 五天面试 Google、Facebook、Airbnb 等硅谷五家顶级公司,我是如何都拿到 Offer 的
- HDU-1720(A+B coming)
- 窗口
- TestNG遇到的坑
- 笔记:substring和substr的区别