22 条题解
-
0
#include <iostream> #include <math.h> #include <iomanip> using namespace std; #define LL Long Long const int N=1e5+10; const int INF=0x3f3f3f3f; int main() { cin >> k; for (int i = 1 ; i <= k ; i++) { cin >> n; if (n==1) { a++; } if (n==5) { b++; } if (n==10) { c++; } }```
信息
- ID
- 972
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 3
- 标签
- 递交数
- 803
- 已通过
- 408
- 上传者