poj 2017 Speed Limit
来源:互联网 发布:php http get请求 编辑:程序博客网 时间:2024/04/30 23:37
#include "iostream"using namespace std;int main(){ int num, i, s, t, temp, ans; while (cin >> num && num != -1) { temp = ans = 0; for (i = 0; i < num; i++) { cin >> s >> t; ans += s * (t - temp); temp = t; } cout << ans << " miles" << endl; } system("pause");}
- POJ 2017 Speed Limit
- POJ 2017 Speed Limit
- poj 2017 Speed Limit
- POJ 2017 Speed Limit
- poj 2017 Speed Limit
- POJ 2017 - Speed Limit
- POJ 2017 Speed Limit
- POJ 2017 Speed Limit
- [POJ] 2017 -> Speed Limit
- poj 2017 Speed Limit
- Speed Limit POJ 2017
- POJ 2017:Speed Limit
- Poj 2017 Speed Limit(水题)
- Speed Limit - POJ 2017 水题
- [ACM] poj 2017 Speed Limit
- poj 2017 Speed Limit -- 模拟
- POJ 2017 Speed Limit G++
- POJ 2017 Speed Limit解题报告
- LineDDA的使用方法(绘制复杂线条)
- 替代netstat ss ip
- linux信号机制简介
- 共享库函数调用原理
- 第十三周 任务3
- poj 2017 Speed Limit
- mepg4 编码原理
- Linux输入子系统分析(五)
- 余弦相似度
- poj 1276 Cash Machine(多重背包)
- 测度理论(转)
- Web中的用户体验--1 美观并不等于设计良好
- 达内C++21天培训视频教程
- CDMA基站定位获取经纬