http://115.28.138.223/view.page?gpid=T47

水。

#include<iostream>
#include<cstring>
#include<cstdio>
#include<algorithm>
#include<cmath>
using namespace std; int a[]; int main()
{
int n;
scanf("%d",&n);
for(int i = ;i <= n;i++) scanf("%d",&a[i]);
int maxx = ;
for(int i = ;i <= n;i++) maxx = max(maxx,abs(a[i]-a[i-]));
printf("%d\n",maxx);
return ;
}

最新文章

  1. 【原创】初识懒人开发库---ButterKnife
  2. 注册URL模式与HttpHandler的映射关系
  3. HTML5文件系统API和资料整理
  4. Xcodeproject详解
  5. eclipse常用窗口和功能总结
  6. Python 安装 httpie
  7. jqzoom基于jQuery的图片放大镜
  8. Web前端开发如何利用css样式来控制Html中的h1/h2/h3标签不换行
  9. 已经不再更新新浪、网易及CSDN博客了!
  10. Java 面试题集锦
  11. php笔记(一)php介绍及数据类型
  12. 简单透彻理解JSONP原理及使用
  13. TCP协议和TCP/IP(簇)
  14. Amazon移除差评适用范围 - Amazon request for the feedback removal
  15. JVM的内存结构,JVM的回收机制
  16. git+sourcetree创建仓库
  17. 北京Uber优步司机奖励政策(12月29日)
  18. Codeforces633H-Fibonacci-ish II
  19. Andrew Ng机器学习编程作业:Anomaly Detection and Recommender Systems
  20. python之连接oracle数据库

热门文章

  1. 1026 程序运行时间 (15 分)C语言
  2. Excel获取当前日期和时间
  3. nginx错误: [error] OpenEvent(&quot;Global\ngx_reload_10444&quot;) failed (2: The system cannot find the file specified)
  4. GitHub 标星 2.4w+,最适合编程新手入门的宝藏项目推荐
  5. 揭秘webpack plugin
  6. 树上点分治 poj 1741
  7. CF - 高精度 + 贪心
  8. 第二阶段冲刺个人任务——seven
  9. 机器学习-Tensorflow之Tensor和Dataset学习
  10. 10、python函数