POJ 2665 模拟,,
来源:互联网 发布:mac系统星际2打不开 编辑:程序博客网 时间:2024/06/16 18:13
It is confirmed that these sections do not overlap with each other.
一句话 就变成水题了,,,
// by SiriusRen#include <cstdio>using namespace std;int n,m,xx,yy;int main(){ while(scanf("%d%d",&n,&m)&&(n||m)){ n++; for(int i=1;i<=m;i++)scanf("%d%d",&xx,&yy),n-=(yy-xx+1); printf("%d\n",n); }}
0 0
- POJ 2665 模拟,,
- POJ 1017 模拟啊模拟
- POJ 1565 水 模拟
- Poj 模拟题
- POJ 1068 括号模拟
- POJ 2453 简单模拟
- POJ 2833 简单模拟
- POJ 1016 模拟题
- 模拟退火 poj 1379
- poj 1379 模拟退火
- poj 3285 模拟退火,
- POJ 1068 Parencodings 模拟
- POJ 3295 Tautology 模拟
- POJ 1099 模拟
- poj 3427 模拟
- poj 2612 扫雷 模拟
- POJ 1250 模拟题
- poj 2632 模拟
- Android Binder机制原理
- php四个常用类封装
- List和数组转换
- Android 图片加载方式
- KVC简单理解
- POJ 2665 模拟,,
- java并发大总结
- java开发必备工具介绍与下载
- MySQL进阶(一)
- AES PKCS5Padding
- javaWeb_Request_Response
- 仓库管理系统系列——3、终结篇
- 我的程序员之路
- poj3461 Oulipo