acgo题库
  • 首页
  • 题库
  • 题单
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(0)提交记录(0)
  • WTF数组开三个大小都能过?

    #include<bits/stdc++.h> using namespace std; int a[3]; int main(){ int n; cin >> n; for(int i = 1; i <= n; i++){ cin >> a[i]; if(a[i] % 2 == 0) cout << a[i] << endl; } return 0; }

    userId_undefined

    𝑹𝒓𝒉𝒂𝒓'𝒊𝒍

    倔强青铜
    73阅读
    6回复
    2点赞
首页