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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(0)提交记录(0)
  • 题解

    userId_undefined

    法兰西玫瑰

    倔强青铜
    88阅读
    0回复
    3点赞
  • 题解 * 1

    #include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; if(n == 0 || n % 2 == 1){cout << 0 << " " << 0 << endl;} }

    userId_undefined

    shi

    倔强青铜
    35阅读
    0回复
    2点赞
  • 题解

    #include<bits/stdc++.h> using namespace std; int main(){ long int a; cin>>a; if(a1||a%21){//没有最大值和最小值// cout<<0<<" "<<0; } else{ cout<<ceil(1.0*a/4)<<" "<<a/2;// 向上取整// } }

    userId_undefined

    AC神

    秩序白银
    16阅读
    1回复
    1点赞
  • 我的是不是复杂

    #include<iostream> using namespace std; int main(){ int a,b,c; cin>>c; if(c%2!=0){ cout<<0<<' '<<0; }else{ if(c%4==0){ a=c/4; }else{ a=c/4+1; } b=c/2; cout<<a<<' '<<b; } return 0; }

    userId_undefined

    金杰錱

    倔强青铜
    3阅读
    0回复
    1点赞
  • 题解

    userId_undefined

    暴力出奇迹,结果TLE

    秩序白银
    7阅读
    0回复
    0点赞
  • tj

    userId_undefined

    有事找大号

    秩序白银
    3阅读
    0回复
    0点赞
首页