2 条题解
-
1
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> pii; #define MP(a,b) make_pair(a,b) int main() { ios::sync_with_stdio(false); cin.tie(0); int n; cin>>n; int mx=0; for(int i=0;i<n;i++){ int a; cin>>a; mx=max(mx,a); } cout<<mx; return 0; }
- 1
信息
- ID
- 6914
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 1
- 标签
- 递交数
- 36
- 已通过
- 25
- 上传者