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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

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

    #include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for(int i=1;i<=n;i++){ int x; cin>>x; int sum; sum=0; sum=sqrt(sqrt(x)); if(pow(sum,4)==x){ cout<<sum<<endl; } else cout<<"-1"<<endl; } return 0; }

    userId_undefined

    智慧达达(1)

    出道萌新快乐小狗时间刺客空间掌握者7月全勤卷王秩序白银
    18阅读
    0回复
    1点赞
  • 题解

    #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; cin>>a; for(int i=1;i<=a;i++){ d=0; cin>>b; for(int u=1;u<=b;u++){ c=uuu*u; if(cb){ cout<<u<<endl; d++; break; } } if(d0){ cout<<"-1"<<endl; } } return 0; }

    userId_undefined

    LS_YZY

    时空双修者出道萌新模拟·模拟练习生快乐小狗倔强青铜题解仙人
    20阅读
    0回复
    0点赞
  • PYTHON

    userId_undefined

    无敌的鳖佬仔给老爷爷猜猜被

    时间刺客空间掌握者出道萌新I/O·IO入门者循环·循环打卡人荣耀黄金
    5阅读
    0回复
    0点赞
首页