codeforces 859A Declined Finalists
来源:互联网 发布:男士护肤套装 知乎 编辑:程序博客网 时间:2024/05/16 03:07
题目大意:输入n个数字,求出这些数字里面的最大值,如果这个值小于25,输出0,否则输出这个值减去25
#include<bits/stdc++.h>using namespace std;int main(){int n;cin>>n;int x;int ans=-1;while(n--){cin>>x;ans=max(ans,x);}if(ans<25) cout<<0<<endl;else cout<<ans-25<<endl;}
阅读全文
0 0
- Codeforces 859A Declined Finalists
- codeforces 859A Declined Finalists
- A new start begins when the offer is declined
- GitLab hook declined
- CodeForces-a
- Codeforces 903A A
- ADC finalists gets early access to SDKs
- CodeForces 18A A - Triangle
- CodeForces 133A A. HQ9+
- codeforces 651A A. Joysticks
- 【Codeforces 597A】A. Divisibility
- 【 Codeforces 615A】A. Bulbs
- A. Divisibility CodeForces 597A
- codeforces 417A A. Elimination
- CodeForces 534A A. Exam
- codeforces#98 a
- codeforces#99 a
- codeforces 105 div2 A
- 连续子数组的最大和
- FPGA与PCI-E
- spring 基础
- 无颠无倒
- 深度学习简史
- codeforces 859A Declined Finalists
- LeetCode题目: 7.Reverse Integer
- vi中如何跳转到指定行数
- 测试
- HDU 5521 Meeting 建图+最短路
- LeetCode题目: 8. String to Integer (atoi)
- You are trying to run the Python 2 version of Beautiful Soup under Python 3. This will not work.
- Eclipse中打开.class文件的方法
- 数据库连接池技术介绍(空间换时间)